layout/reftests/bugs/348809-1f.html

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:0417b5c5e8f3
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 span { color: green }
6 :default:checked + span { color: red }
7 input { display: none }
8 </style>
9 </head>
10 <body>
11 <input type="checkbox" checked="checked" id="foo"><span>There should be no red</span>
12 <script>
13 var foo = document.body.offsetWidth;
14 document.getElementById("foo").removeAttribute("checked");
15 </script>
16 </body>
17 </html>

mercurial