<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-51.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED attribute value 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-52.xml">NEGATED attribute space-separated value selector</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-50.xml">NEGATED attribute existence selector</data> </item>
  <item> <name>Test #</name> <data>79 of 306</data> </item>
  <item> <name>Testing</name> <data>NEGATED attribute value selector</data> </item>
  <item> <name>ID</name> <data>51</data> </item>
  <item> <name>Date</name> <data>2001-07-11</data> </item>
  <item> <name>Revision</name> <data>1.0</data> </item>
 </metadata>
   <requirement>The UA must support namespaces for this test.</requirement>
  <content>
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" test="1">
  <r test="11">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a">This text should be in green characters</s>
<p>This text should be in green characters</p>
</div>
</content>
  <source>
   <css>@namespace a url(http://www.example.org/a);
div.stub &gt; p {color : red }
div.stub &gt; a|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test=&quot;1&quot;]) { color : lime }</css>
   <xml>
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;stub&quot;&gt;
&lt;q xmlns=&quot;http://www.example.org/a&quot; test=&quot;1&quot;&gt;
  &lt;r test=&quot;11&quot;&gt;This text should be&lt;/r&gt;
  &lt;r&gt;in green characters&lt;/r&gt;
&lt;/q&gt;
&lt;s xmlns=&quot;http://www.example.org/a&quot;&gt;This text should be in green characters&lt;/s&gt;
&lt;p&gt;This text should be in green characters&lt;/p&gt;
&lt;/div&gt;
</xml>
  </source>
</test>