<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-60.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED ID selector</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-61.xml">NEGATED :link pseudo-class</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-59.xml">NEGATED class selector</data> </item>
  <item> <name>Test #</name> <data>77 of 273 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>NEGATED ID selector</data> </item>
  <item> <name>ID</name> <data>60</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" class="stub">
<p>This paragraph should be in green characters.</p>
<p id="foo2">This paragraph should be in green characters.</p>
<p id="foo">
     <span>This paragraph should be in green characters.</span>
</p>
</div>
</content>
  <source>
   <css>div.stub &gt; * { color : red }
div.stub *:not(#foo) { color : lime }
</css>
   <xml>
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;stub&quot;&gt;
&lt;p&gt;This paragraph should be in green characters.&lt;/p&gt;
&lt;p id=&quot;foo2&quot;&gt;This paragraph should be in green characters.&lt;/p&gt;
&lt;p id=&quot;foo&quot;&gt;
     &lt;span&gt;This paragraph should be in green characters.&lt;/span&gt;
&lt;/p&gt;
&lt;/div&gt;
</xml>
  </source>
</test>