<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-106.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Attribute space-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-106b.xml">Attribute space-separated value selector with universal namespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-105b.xml">Attribute value selector with universal namespace</data> </item>
  <item> <name>Test #</name> <data>142 of 276 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>Attribute space-separated value selector with universal namespace</data> </item>
  <item> <name>ID</name> <data>106</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">
<p xmlns="http://www.w3.org/1999/xhtml" class="un deux trois">This paragraph should have a green background.</p>
<q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should be unstyled.</q>
<q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should be unstyled.</q>
<r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should have a green background.</r>
<s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should have a green background.</s>
</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, *|r, *|s { background-color : red }
*|*[*|class~=&quot;deux&quot;], *|*[*|foo~=&quot;deux&quot;] { background-color : lime }
</css>
   <xml>
&lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;un deux trois&quot;&gt;This paragraph should have a green background.&lt;/p&gt;
&lt;q xmlns=&quot;http://www.example.org/a&quot; a:bar=&quot;un deux trois&quot;&gt;This paragraph should be unstyled.&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 be unstyled.&lt;/q&gt;
&lt;r xmlns=&quot;http://www.example.org/a&quot; a:foo=&quot;un deux trois&quot;&gt;This paragraph should have a green background.&lt;/r&gt;
&lt;s xmlns=&quot;http://www.example.org/b&quot; b:foo=&quot;un deux trois&quot;&gt;This paragraph should have a green background.&lt;/s&gt;
</xml>
  </source>
</test>