mirror of
https://github.com/servo/servo.git
synced 2025-10-17 00:39:15 +01:00
20 lines
880 B
XML
20 lines
880 B
XML
<csstest def="More than one class selector" module="W3C Selectors" modulename="css3-modsel" number="14b" rev="1.1" date="27-april-2004" 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.fail { background: red; color: yellow; }
|
|
.fail.t1 { background: red; color: yellow; }
|
|
.t2.fail { background: red; color: yellow; }
|
|
.fail.t2 { background: red; color: yellow; }
|
|
/* Note: This is a valid test even per CSS1, since in CSS1 those rules
|
|
are invalid and should be dropped. */
|
|
</cssrules>
|
|
|
|
<code>
|
|
<p class="t1" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</p>
|
|
<p class="t1 t2" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</p>
|
|
</code>
|
|
|
|
</csstest>
|