layout/reftests/bugs/315920-17.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.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <style>
michael@0 5 input ~ label {color: red}
michael@0 6 input:not(:default):not(:checked):not([checked]) ~ label {color:red}
michael@0 7 input[checked]:checked:default ~ input:not(:checked):not([checked]):not(:default) + label {color: green}
michael@0 8 input:checked:default + label {color: green}
michael@0 9 </style>
michael@0 10 </head>
michael@0 11 <body onload='document.getElementById("two").setAttribute("checked", "true");
michael@0 12 document.getElementById("one").setAttribute("checked", "checked");
michael@0 13 document.getElementById("two").removeAttribute("checked");'>
michael@0 14 <form>
michael@0 15 <input type="checkbox" name="group1" id="one" value="1"/>
michael@0 16 <label for="one">Should be no red</label><br>
michael@0 17 <input type="checkbox" name="group1" id="two" value="2"/>
michael@0 18 <label for="two">Should be no red</label><br>
michael@0 19 <input type="checkbox" name="group1" id="three" value="3"/>
michael@0 20 <label for="three">Should be no red</label>
michael@0 21 </form>
michael@0 22 </body>
michael@0 23 </html>

mercurial