6 :default + span { color: red }
7 span.reverse { color: red }
8 :default + span.reverse { color: green }
9 button { display: none }
15 <button type=
"submit" checked=
"checked" id=
"foo"></button>
16 <span>There should be no red.
</span>
19 <button type=
"submit"></button><span class=
"reverse">There should be no red.
</span>
23 var foo
= document
.body
.offsetWidth
;
24 document
.getElementById("foo").setAttribute("type", "button");