layout/reftests/bugs/352980-2a.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="document.getElementById('foo').type = 'submit'">
    13   <form>
    14     <input id="foo"><span>This should be green</span>
    15     <input type="image"><span class="reverse">This should be green</span>
    16   </form>
    17  </body>
    18 </html>

mercurial