layout/reftests/bugs/315920-19.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: red}
     6       label {color: red}
     7       input[disabled]:disabled ~ span {color: green}
     8       input[disabled]:disabled + label {color: green}
     9       input { display: none; }
    10     </style>
    11   </head>
    12   <body onload='var i1 = document.getElementById("ffximage");
    13                 i1.setAttribute("disabled", "disabled");'>
    14     <input type="image" id="ffximage"/>
    15     <label for="ffximage">Should be no red</label>
    16     <br>
    17     <span>Should be no red</span>
    18   </body>
    19 </html

mercurial