<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-113.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Attribute space-separated value selector without 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-114.xml">Attribute dash-separated value selector without declared namespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-112.xml">Attribute value selector without declared namespace</data> </item>
  <item> <name>Test #</name> <data>113 of 143</data> </item>
  <item> <name>Testing</name> <data>Attribute space-separated value selector without declared namespace</data> </item>
  <item> <name>ID</name> <data>113</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">
<p xmlns="http://www.w3.org/1999/xhtml" class="bar foo toto">This paragraph should have a green background</p>
<address xmlns="http://www.w3.org/1999/xhtml" class="bar foofoo toto">This address should NOT have a green background</address>
<q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should
             have a green background</q>
<r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             NOT have a green background</r>
</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 }
*|p, *|q { background-color : red }
*|*[|class~="foo"] { background-color : lime }</css>
   <xml>
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="bar foo toto">This paragraph should have a green background&lt;/p>
&lt;address xmlns="http://www.w3.org/1999/xhtml" class="bar foofoo toto">This address should NOT have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             NOT have a green background&lt;/r>
</xml>
  </source>
</test>