<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-59.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED class 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-60.xml">NEGATED ID selector</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-57b.xml">NEGATED Attribute existence selector with declared namespace</data> </item>
  <item> <name>Test #</name> <data>86 of 296</data> </item>
  <item> <name>Testing</name> <data>NEGATED class selector</data> </item>
  <item> <name>ID</name> <data>59</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 class="bar foofoo tut">This paragraph should be in green characters.</p>
<p class="bar foo tut">
     <span class="tut foo2">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 class=&quot;bar foofoo tut&quot;&gt;This paragraph should be in green characters.&lt;/p&gt;
&lt;p class=&quot;bar foo tut&quot;&gt;
     &lt;span class=&quot;tut foo2&quot;&gt;This paragraph should be in green characters.&lt;/span&gt;
&lt;/p&gt;
&lt;/div&gt;
</xml>
  </source>
</test>