CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 271 of 291 | |
Testing | Date | Revision |
Namespaced attribute selectors (ID #173b) | 20-september-2002 | 1.0 |
NOTE: The UA must support namespaces for this test.
tests, tests * { display: block; color: red; } testA[*|attribute] { color: green; } testB[*|attribute="pass"] { color: green; } testC[*|attribute~="pass"] { color: green; } testD[*|attribute^="pass"] { color: green; } testE[*|attribute*="pass"] { color: green; } testF[*|attribute$="pass"] { color: green; } testG[*|attribute|="pass"] { color: green; }
<tests xmlns="http://css.example.net/" xmlns:test="http://css.example.net/"> <testA attribute="pass">This should be green.</testA> <testB attribute="pass">This should be green.</testB> <testC attribute="pass">This should be green.</testC> <testD attribute="pass">This should be green.</testD> <testE attribute="pass">This should be green.</testE> <testF attribute="pass">This should be green.</testF> <testG attribute="pass">This should be green.</testG> </tests>