<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-126.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED Attribute dash-separated value selector with declared namespace</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-126b.xml">NEGATED Attribute dash-separated value selector with declared namespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-125b.xml">NEGATED Attribute space-separated value selector with declared namespace</data> </item>
  <item> <name>Test #</name> <data>189 of 296</data> </item>
  <item> <name>Testing</name> <data>NEGATED Attribute dash-separated value selector with declared namespace</data> </item>
  <item> <name>ID</name> <data>126</data> </item>
  <item> <name>Date</name> <data>2001-11-13</data> </item>
  <item> <name>Revision</name> <data>1.1</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">
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should have a green background.</q>
<r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should be unstyled.</r>
<s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should have a green background.</s>
</div>
</content>
  <source>
   <css>@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|foo|=&quot;bar&quot;]) { background-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; a:foo=&quot;bargain-trash&quot;&gt;This paragraph should have a green background.&lt;/q&gt;
&lt;r xmlns=&quot;http://www.example.org/a&quot; a:foo=&quot;bar-drink-glass&quot;&gt;This paragraph should be unstyled.&lt;/r&gt;
&lt;s xmlns=&quot;http://www.example.org/b&quot; b:foo=&quot;bar-drink-glass&quot;&gt;This paragraph should have a green background.&lt;/s&gt;
&lt;/div&gt;
</xml>
  </source>
</test>