Revision 40e55d85d9e7649d8b8e573b8d9b77e0e183fe63 authored by Philip Jägenstedt on 27 April 2018, 09:23:29 UTC, committed by Blink WPT Bot on 27 April 2018, 09:41:43 UTC
1 parent 8f1bac8
Raw File
css3-modsel-35.xml
<csstest def=":last-of-type pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="35" rev="1.1" date="12-november-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>
<author>Ian Hickson</author>

<cssrules>.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:last-of-type { background-color : lime }
</cssrules>
<code>
<div xmlns="http://www.w3.org/1999/xhtml">
<address>A first address with normal background</address>
<address>A second address with normal background</address>
<address class="red">A third address that should have a green background</address>
This div contains 3 addresses above this sentence.</div>
</code>
</csstest>
back to top