<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-124.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED Attribute value selector with declared namespace</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-125.xml">NEGATED Attribute space-separated value selector with declared namespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-123.xml">NEGATED universal selector with declared namespace</data> </item>
  <item> <name>Test #</name> <data>124 of 143</data> </item>
  <item> <name>Testing</name> <data>NEGATED Attribute value selector with declared namespace</data> </item>
  <item> <name>ID</name> <data>124</data> </item>
  <item> <name>Date</name> <data>11-july-2001</data> </item>
  <item> <name>Revision</name> <data>1.0</data> </item>
 </metadata>
   <requirement>The UA must support namespaces for this test.</requirement>
  <content xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml">
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p title="foo">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="foo">This a:q element should NOT
                 have a green background</q>
<s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should 
                 have a green background</s>
<r xmlns="http://www.example.org/b" b:title="foo">This b:r element should 
                 have a green background</r>
</div>
</content>
  <source>
   <css>@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
div.stub *:not([a|title="foo"]) {background-color : lime }
</css>
   <xml>
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p title="foo">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="foo">This a:q element should NOT
                 have a green background&lt;/q>
&lt;s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should 
                 have a green background&lt;/s>
&lt;r xmlns="http://www.example.org/b" b:title="foo">This b:r element should 
                 have a green background&lt;/r>
&lt;/div>
</xml>
  </source>
</test>