mirror of
https://github.com/servo/servo.git
synced 2025-10-17 16:59:27 +01:00
16 lines
823 B
XML
16 lines
823 B
XML
<csstest def="NEGATED :first-of-type pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="79" rev="1.0" date="11-july-2001" 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>Daniel Glazman</author>
|
|
<cssrules>.red { background-color : red }
|
|
address { margin-bottom : 1em ; margin-left : 1em }
|
|
address:not(:first-of-type) { background-color : lime }
|
|
</cssrules>
|
|
|
|
<code>
|
|
<div xmlns="http://www.w3.org/1999/xhtml">This div contains 3 addresses :
|
|
<address>A first address with normal background</address>
|
|
<address class="red">A second address that should have a green background</address>
|
|
<address class="red">A third address that should have a green background</address>
|
|
</div>
|
|
</code>
|
|
</csstest>
|