<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-133.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED Attribute dash-separated value selector with universal 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-133b.xml">NEGATED Attribute dash-separated value selector with universal namespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-132b.xml">NEGATED Attribute space-separated value selector with universal namespace</data> </item>
  <item> <name>Test #</name> <data>203 of 296</data> </item>
  <item> <name>Testing</name> <data>NEGATED Attribute dash-separated value selector with universal namespace</data> </item>
  <item> <name>ID</name> <data>133</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">
<p lang="en-us">This paragraph should be unstyled.</p>
<p lang="fr" class="foo">This paragraph should have a green background.</p>
<q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should have a green background.</q>
<q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should have a green background.</q>
<r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should be unstyled.</r>
<s xmlns="http://www.example.org/b" b:foo="un-d-trois">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 }
*|p.foo, *|q, *|s { background-color : red }
div.stub html|*:not([*|lang|=&quot;en&quot;]),
  div.stub *|*:not(html|*):not([a|foo|=&quot;un-d&quot;]) { background-color : lime }
</css>
   <xml>
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;stub&quot;&gt;
&lt;p lang=&quot;en-us&quot;&gt;This paragraph should be unstyled.&lt;/p&gt;
&lt;p lang=&quot;fr&quot; class=&quot;foo&quot;&gt;This paragraph should have a green background.&lt;/p&gt;
&lt;q xmlns=&quot;http://www.example.org/a&quot; a:foo=&quot;un-deux-trois&quot;&gt;This paragraph should have a green background.&lt;/q&gt;
&lt;q xmlns=&quot;http://www.example.org/a&quot; a:foo=&quot;un-second-deuxieme-trois&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;un-d-trois&quot;&gt;This paragraph should be unstyled.&lt;/r&gt;
&lt;s xmlns=&quot;http://www.example.org/b&quot; b:foo=&quot;un-d-trois&quot;&gt;This paragraph should have a green background.&lt;/s&gt;
&lt;/div&gt;
</xml>
  </source>
</test>