<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-98b.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Attribute value selector with 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-99.xml">Attribute space-separated value selector with declared namespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-98.xml">Attribute value selector with declared namespace</data> </item>
  <item> <name>Test #</name> <data>127 of 276 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>Attribute value selector with declared namespace</data> </item>
  <item> <name>ID</name> <data>98b</data> </item>
  <item> <name>Date</name> <data>2001-11-12</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" title="foo">This paragraph should be unstyled.</p>
 <q xmlns="http://www.example.org/a" a:title="foo">This paragraph should have a green background</q>
 <s xmlns="http://www.example.org/a" a:title="foobar">This paragraph should be unstyled.</s>
 <r xmlns="http://www.example.org/b" b:title="foo">This paragraph should be unstyled.</r>
</content>
  <source>
   <css>@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q { background-color : lime ! important }
*[a|title=&quot;foo&quot;] {background-color : red }
</css>
   <xml>
 &lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot; title=&quot;foo&quot;&gt;This paragraph should be unstyled.&lt;/p&gt;
 &lt;q xmlns=&quot;http://www.example.org/a&quot; a:title=&quot;foo&quot;&gt;This paragraph should have a green background&lt;/q&gt;
 &lt;s xmlns=&quot;http://www.example.org/a&quot; a:title=&quot;foobar&quot;&gt;This paragraph should be unstyled.&lt;/s&gt;
 &lt;r xmlns=&quot;http://www.example.org/b&quot; b:title=&quot;foo&quot;&gt;This paragraph should be unstyled.&lt;/r&gt;
</xml>
  </source>
</test>