CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 137 of 302 | |
Testing | Date | Revision |
Universal selector without declared namespace (ID #96b) | 2001-11-12 | 1.1 |
NOTE: The UA must support namespaces for this test.
This line should be unstyled.
This line should have a green background
@namespace a url(http://www.example.org/a); @namespace b url(http://www.example.org/b); div.green * { background-color : lime ! important } div.test * { display : block ; margin-bottom : 1em } div.test |* { background-color : red }
<div class="test"> <p>This line should be unstyled.</p> <elementA xmlns="http://www.example.org/a">This line should be unstyled.</elementA> <elementB xmlns="http://www.example.org/b">This line should be unstyled.</elementB> <div class="green"> <p xmlns="">This line should have a green background</p> <elementA xmlns="">This line should have a green background</elementA> <elementB xmlns="">This line should have a green background</elementB> </div> </div>