CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 95 of 143 | |
Testing | Date | Revision |
Universal selector with universal namespace (ID #95) | 11-july-2001 | 1.0 |
NOTE: The UA must support namespaces for this test.
This html:p should have a green background
This b:p element should have a green background
This b:q should have a green background
This a:p should have a green background
@namespace a url(http://www.example.org/a); @namespace b url(http://www.example.org/b); div.testText * { background-color : red ; display : block ; margin-bottom : 1em } div.testText *|* { background-color : lime }
<p>This html:p should have a green background</p> <p xmlns="http://www.example.org/b">This b:p element should have a green background</p> <q xmlns="http://www.example.org/b">This b:q should have a green background</q> <p xmlns="http://www.example.org/a">This a:p should have a green background</p> <foo xmlns="http://www.example.org/b">This b:foo should have a green background</foo>