layout/reftests/bugs/315920-22.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!DOCTYPE html>
     2 <html>
     3   <head>
     4     <style>
     5       label {color: red}
     6       #one[disabled]:disabled + label {color: green}
     7       #two:not([disabled]):not(:disabled) + label {color: green}
     8     </style>
     9   </head>
    10   <body onload='var elem = document.getElementById("one");
    11                 elem.setAttribute("disabled", "disabled");
    12                 document.getElementById("two").removeAttribute("disabled")'>
    13     <div>
    14       <input id="one"/>
    15       <label for="one">Should be no red</label>
    16     </div>
    17     <div>
    18       <input id="two" disabled="disabled"/>
    19       <label for="two">Should be no red</label>
    20     </div>
    21   </body>
    22 </html>

mercurial