<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-172b.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Namespaced attribute selectors</title>
 <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-173a.xml">Namespaced attribute selectors</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-172a.xml">Namespaced attribute selectors</data> </item>
  <item> <name>Test #</name> <data>254 of 276 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>Namespaced attribute selectors</data> </item>
  <item> <name>ID</name> <data>172b</data> </item>
  <item> <name>Date</name> <data>2002-09-20</data> </item>
  <item> <name>Revision</name> <data>1.0</data> </item>
 </metadata>
   <requirement>The UA must support namespaces for this test.</requirement>
  <content>
  <tests xmlns="http://css.example.net/" xmlns:test="http://css.example.net/">
   <testA test:attribute="fail">This should be green.</testA>
   <testB test:attribute="fail">This should be green.</testB>
   <testC test:attribute="fail">This should be green.</testC>
   <testD test:attribute="fail">This should be green.</testD>
   <testE test:attribute="fail">This should be green.</testE>
   <testF test:attribute="fail">This should be green.</testF>
   <testG test:attribute="fail">This should be green.</testG>
  </tests>
</content>
  <source>
   <css>
 @namespace url(http://css.example.net/);
 tests, tests * { display: block; color: green; }
 testA[|attribute] { color: red; }
 testB[|attribute=&quot;fail&quot;] { color: red; }
 testC[|attribute~=&quot;fail&quot;] { color: red; }
 testD[|attribute^=&quot;fail&quot;] { color: red; }
 testE[|attribute*=&quot;fail&quot;] { color: red; }
 testF[|attribute$=&quot;fail&quot;] { color: red; }
 testG[|attribute|=&quot;fail&quot;] { color: red; }
</css>
   <xml>
  &lt;tests xmlns=&quot;http://css.example.net/&quot; xmlns:test=&quot;http://css.example.net/&quot;&gt;
   &lt;testA test:attribute=&quot;fail&quot;&gt;This should be green.&lt;/testA&gt;
   &lt;testB test:attribute=&quot;fail&quot;&gt;This should be green.&lt;/testB&gt;
   &lt;testC test:attribute=&quot;fail&quot;&gt;This should be green.&lt;/testC&gt;
   &lt;testD test:attribute=&quot;fail&quot;&gt;This should be green.&lt;/testD&gt;
   &lt;testE test:attribute=&quot;fail&quot;&gt;This should be green.&lt;/testE&gt;
   &lt;testF test:attribute=&quot;fail&quot;&gt;This should be green.&lt;/testF&gt;
   &lt;testG test:attribute=&quot;fail&quot;&gt;This should be green.&lt;/testG&gt;
  &lt;/tests&gt;
</xml>
  </source>
</test>