mirror of
https://github.com/servo/servo.git
synced 2025-10-17 08:49:21 +01:00
18 lines
667 B
XML
18 lines
667 B
XML
<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>
|