CSS 3 Module <== Test # ==>
W3C Selectors 134 of 296
Testing Date Revision
Universal selector without declared namespace (ID #96) 2001-11-12 1.1

NOTE: The UA must support namespaces for this test.

This line should be unstyled.

This line should be unstyled. This line should be unstyled.

This line should have a green background

This line should have a green background 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 : red }
div.test * { display : block ; margin-bottom : 1em }
div.test |* { background-color : lime }
<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>