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