CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 136 of 291 | |
Testing | Date | Revision |
Attribute value selector with declared namespace (ID #98b) | 12-november-2001 | 1.1 |
NOTE: The UA must support namespaces for this test.
This paragraph should be unstyled.
This paragraph should have a green background
@namespace a url(http://www.example.org/a); @namespace b url(http://www.example.org/b); *|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em } *|q { background-color : lime ! important } *[a|title="foo"] {background-color : red }
<p title="foo">This paragraph should be unstyled.</p> <q xmlns="http://www.example.org/a" a:title="foo">This paragraph should have a green background</q> <s xmlns="http://www.example.org/a" a:title="foobar">This paragraph should be unstyled.</s> <r xmlns="http://www.example.org/b" b:title="foo">This paragraph should be unstyled.</r>