| <csstest def="Attribute selectors with multiple attributes" module="W3C Selectors" modulename="css3-modsel" number="174a" rev="1.0" date="20-september-2002" xmlns="http://www.example.org/css3tests"> |
| |
| <author>Ian Hickson</author> |
| |
| <cssrules> |
| tests, tests * { display: block; color: red; } |
| testA[*|attribute="pass"] { color: green; } |
| testB[*|attribute="pass"] { color: green; } |
| </cssrules> |
| |
| <code> |
| <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> |
| </code> |
| |
| </csstest> |