CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 252 of 276 of the static tests category | |
Testing | Date | Revision |
Classes: XHTML global class attribute (ID #171) | 2002-09-20 | 1.0 |
NOTE: The UA must support namespaces for this test.
This should be green.
p { color: green; } .fail { color: red; }
<p xmlns:xhtml="http://www.w3.org/1999/xhtml"> <span xhtml:class="fail">This should be green.</span> </p>