CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 278 of 304 | |
Testing | Date | Revision |
Attribute selectors with multiple attributes (ID #174a) | 2002-09-20 | 1.0 |
NOTE: The UA must support namespaces for this test.
tests, tests * { display: block; color: red; } testA[*|attribute="pass"] { color: green; } testB[*|attribute="pass"] { color: green; }
<tests xmlns="http://css.example.net/" xmlns:test="http://css.example.net/"> <testA attribute="pass" test:attribute="fail">This should be green.</testA> <testB attribute="fail" test:attribute="pass">This should be green.</testB> </tests>