<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-80.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED :last-of-type pseudo-class</title>
 <author>Daniel Glazman</author>
 <metadata>
  <item> <name>CSS 3 Module</name> <data>W3C Selectors</data> </item>
  <item> <name>Next</name> <data xlink:type="simple" xlink:href="css3-modsel-81.xml">NEGATED :only-child pseudo-class</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-79.xml">NEGATED :first-of-type pseudo-class</data> </item>
  <item> <name>Test #</name> <data>114 of 296</data> </item>
  <item> <name>Testing</name> <data>NEGATED :last-of-type pseudo-class</data> </item>
  <item> <name>ID</name> <data>80</data> </item>
  <item> <name>Date</name> <data>2001-07-11</data> </item>
  <item> <name>Revision</name> <data>1.0</data> </item>
 </metadata>
  <content>
<div xmlns="http://www.w3.org/1999/xhtml">
<address class="red">A first address that should have a green background</address>
<address class="red">A second address that should have a green background</address>
<address>A third address with normal background</address>
This div should have three addresses above it.</div>
</content>
  <source>
   <css>.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:not(:last-of-type) { background-color : lime }
</css>
   <xml>
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;address class=&quot;red&quot;&gt;A first address that should have a green background&lt;/address&gt;
&lt;address class=&quot;red&quot;&gt;A second address that should have a green background&lt;/address&gt;
&lt;address&gt;A third address with normal background&lt;/address&gt;
This div should have three addresses above it.&lt;/div&gt;
</xml>
  </source>
</test>