<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-15.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>ID selectors</title>
 <author>Daniel Glazman</author>
 <author>Ian Hickson</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-15b.xml">Multiple ID selectors</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-14e.xml">NEGATED More than one class selector</data> </item>
  <item> <name>Test #</name> <data>20 of 302</data> </item>
  <item> <name>Testing</name> <data>ID selectors</data> </item>
  <item> <name>ID</name> <data>15</data> </item>
  <item> <name>Date</name> <data>2001-11-19</data> </item>
  <item> <name>Revision</name> <data>1.1</data> </item>
 </metadata>
  <content>
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li id="t1">This list item should have a green background. because its ID is &quot;t1&quot;</li>
  <li id="t2">This list item should have a green background. because its ID is &quot;t2&quot;</li>
  <li id="t3"><span id="t44">This list item should have a green background. because the inner SPAN does not match &quot;#t4&quot;</span></li>
</ul>
</content>
  <source>
   <css>li { background-color : red }
#t1 { background-color : lime }
li#t2 { background-color : lime }
li#t3 { background-color : lime }
#t4 { background-color : red }</css>
   <xml>
&lt;ul xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
  &lt;li id=&quot;t1&quot;&gt;This list item should have a green background. because its ID is &amp;quot;t1&amp;quot;&lt;/li&gt;
  &lt;li id=&quot;t2&quot;&gt;This list item should have a green background. because its ID is &amp;quot;t2&amp;quot;&lt;/li&gt;
  &lt;li id=&quot;t3&quot;&gt;&lt;span id=&quot;t44&quot;&gt;This list item should have a green background. because the inner SPAN does not match &amp;quot;#t4&amp;quot;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
</xml>
  </source>
</test>