servo/tests/wpt/web-platform-tests/css/css3-selectors/css3-modsel-174a.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>