<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-112.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Attribute 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-113.xml">Attribute space-separated value selector without declared namespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-111.xml">Attribute existence selector without declared namespace</data> </item>
  <item> <name>Test #</name> <data>99 of 130 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>Attribute value selector without declared namespace</data> </item>
  <item> <name>ID</name> <data>112</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" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background</t>
</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, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title="si on chantait"] { background-color : lime }</css>
   <xml>
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background&lt;/t>
</xml>
  </source>
</test>