layout/reftests/bugs/352980-1h.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE html>
     2 <html>
     3  <head>
     4   <style>
     5    span { color: red }
     6    :default + span { color: green }
     7    span.reverse { color: green }
     8    :default + span.reverse { color: red }
     9    input { display: none }
    10   </style>
    11  </head>
    12  <body onload="var foo = document.getElementById('foo');
    13                var bar = document.createElement('input');
    14                bar.type = 'image';
    15                foo.insertBefore(bar, foo.firstChild)">
    16   <form id="foo"><span>This should be green</span>
    17     <input type="submit">
    18   </form>
    19  </body>
    20 </html>

mercurial