<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-13.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Class selectors</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-14.xml">More than one class selector</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-11.xml">Substring matching attribute selector (contains)</data> </item>
  <item> <name>Test #</name> <data>14 of 276 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>Class selectors</data> </item>
  <item> <name>ID</name> <data>13</data> </item>
  <item> <name>Date</name> <data>2001-07-11</data> </item>
  <item> <name>Revision</name> <data>1.0</data> </item>
 </metadata>
  <content>
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li class="t1">This list item should have green background because its class is &quot;t1&quot;</li>
  <li class="t2">This list item should have green background because its class is &quot;t2&quot;</li>
  <li class="t2">
<span class="t33">This list item should have green background because 
        the inner SPAN does not match SPAN.t3</span>
</li>
</ul>
</content>
  <source>
   <css>li { background-color : red }
.t1 { background-color : lime }
li.t2 { background-color : lime }
.t3 { background-color : red }</css>
   <xml>
&lt;ul xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
  &lt;li class=&quot;t1&quot;&gt;This list item should have green background because its class is &amp;quot;t1&amp;quot;&lt;/li&gt;
  &lt;li class=&quot;t2&quot;&gt;This list item should have green background because its class is &amp;quot;t2&amp;quot;&lt;/li&gt;
  &lt;li class=&quot;t2&quot;&gt;
&lt;span class=&quot;t33&quot;&gt;This list item should have green background because 
        the inner SPAN does not match SPAN.t3&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
</xml>
  </source>
</test>