6 :default + span { color: green }
7 span.reverse { color: green }
8 :default + span.reverse { color: red }
9 input { display: none }
12 <body onload=
"document.getElementById('foo').type = 'image'">
14 <input id=
"foo"><span>This should be green
</span>
15 <input type=
"image"><span class=
"reverse">This should be green
</span>