mirror of
https://github.com/servo/servo.git
synced 2025-10-17 00:39:15 +01:00
17 lines
704 B
XML
17 lines
704 B
XML
<csstest def="NEGATED More than one class selector" module="W3C Selectors" modulename="css3-modsel" number="14d" rev="1.0" date="6-december-2002" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests">
|
|
|
|
<author>Ian Hickson</author>
|
|
|
|
<cssrules>
|
|
p { background: green; color: white; }
|
|
.t1:not(.t2) { background: red; color: yellow; }
|
|
:not(.t2).t1 { background: red; color: yellow; }
|
|
.t2:not(.t1) { background: red; color: yellow; }
|
|
:not(.t1).t2 { background: red; color: yellow; }
|
|
</cssrules>
|
|
|
|
<code>
|
|
<p class="t1 t2" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</p>
|
|
</code>
|
|
|
|
</csstest>
|