CSS 3 Module <== Test # ==>
W3C Selectors 120 of 276 of the static tests category
Testing Date Revision
Universal selector with declared namespace (ID #94b) 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.

This line should have a green background.

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);
p, q { display : block ; margin-bottom : 1em }
b|* { background-color : red }
[test] { background-color: lime; }
<p>This line should be unstyled.</p>
<p xmlns="http://www.example.org/b" test="test">This line should have a green background.</p>
<q xmlns="http://www.example.org/b" test="test">This line should have a green background.</q>
<p xmlns="http://www.example.org/a">This line should be unstyled.</p>
<p xmlns="http://www.example.org/b" test="test">This line should have a green background.</p>