layout/reftests/bugs/315920-27.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE html>
     2 <html>
     3   <head>
     4     <style>
     5       span {color: green}
     6       #one:checked + span {color: red}
     7       #two:default + span {color: red}
     8     </style>
     9   </head>
    11   <body onload='document.getElementById("one").removeAttribute("type");
    12                 document.getElementById("two").removeAttribute("type");'>
    13     <div>
    14       <input type="text" id="one" checked="checked" type="checkbox"/>
    15       <span>Should be no red </span>
    16     </div>
    17     <div>
    18       <input type="text" id="two" checked="checked" type="checkbox"/>
    19       <span>Should be no red </span>
    20     </div>
    21   </body>
    22 </html>

mercurial