CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 258 of 264 of the static tests category | |
Testing | Date | Revision |
NEGATED Attribute selectors with multiple attributes (ID #174b) | 20-september-2002 | 1.0 |
NOTE: The UA must support namespaces for this test.
tests, tests * { display: block; color: green } testA:not([*|attribute="pass"]) { color: red; } testB:not([*|attribute="pass"]) { color: red; }
<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>