<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-139.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED Attribute space-separated value selector without 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-139b.xml">NEGATED Attribute space-separated value selector without declared namespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-138b.xml">NEGATED Attribute value selector without declared namespace</data> </item>
  <item> <name>Test #</name> <data>215 of 296</data> </item>
  <item> <name>Testing</name> <data>NEGATED Attribute space-separated value selector without declared namespace</data> </item>
  <item> <name>ID</name> <data>139</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:b="http://www.example.org/b">
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p class="bar foo toto">This paragraph should be unstyled.</p>
<address class="bar foofoo toto">This address should have a green background.</address>
<q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should be unstyled.</q>
<r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph 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);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|address, *|r { background-color : red }
div.stub *|*:not([|class~=&quot;foo&quot;]) { background-color : lime }</css>
   <xml>
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;stub&quot;&gt;
&lt;p class=&quot;bar foo toto&quot;&gt;This paragraph should be unstyled.&lt;/p&gt;
&lt;address class=&quot;bar foofoo toto&quot;&gt;This address should have a green background.&lt;/address&gt;
&lt;q xmlns=&quot;http://www.example.org/a&quot; class=&quot;bar foo toto&quot;&gt;This paragraph should be unstyled.&lt;/q&gt;
&lt;r xmlns=&quot;http://www.example.org/b&quot; b:class=&quot;bar foo toto&quot;&gt;This paragraph should have a green background.&lt;/r&gt;
&lt;/div&gt;
</xml>
  </source>
</test>