<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-173b.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-174a.xml">Attribute selectors with multiple attributes</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-173a.xml">Namespaced attribute selectors</data> </item>
  <item> <name>Test #</name> <data>270 of 296</data> </item>
  <item> <name>Testing</name> <data>Namespaced attribute selectors</data> </item>
  <item> <name>ID</name> <data>173b</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 attribute="pass">This should be green.</testA>
   <testB attribute="pass">This should be green.</testB>
   <testC attribute="pass">This should be green.</testC>
   <testD attribute="pass">This should be green.</testD>
   <testE attribute="pass">This should be green.</testE>
   <testF attribute="pass">This should be green.</testF>
   <testG attribute="pass">This should be green.</testG>
  </tests>
</content>
  <source>
   <css>
 tests, tests * { display: block; color: red; }
 testA[*|attribute] { color: green; }
 testB[*|attribute=&quot;pass&quot;] { color: green; }
 testC[*|attribute~=&quot;pass&quot;] { color: green; }
 testD[*|attribute^=&quot;pass&quot;] { color: green; }
 testE[*|attribute*=&quot;pass&quot;] { color: green; }
 testF[*|attribute$=&quot;pass&quot;] { color: green; }
 testG[*|attribute|=&quot;pass&quot;] { color: green; }
</css>
   <xml>
  &lt;tests xmlns=&quot;http://css.example.net/&quot; xmlns:test=&quot;http://css.example.net/&quot;&gt;
   &lt;testA attribute=&quot;pass&quot;&gt;This should be green.&lt;/testA&gt;
   &lt;testB attribute=&quot;pass&quot;&gt;This should be green.&lt;/testB&gt;
   &lt;testC attribute=&quot;pass&quot;&gt;This should be green.&lt;/testC&gt;
   &lt;testD attribute=&quot;pass&quot;&gt;This should be green.&lt;/testD&gt;
   &lt;testE attribute=&quot;pass&quot;&gt;This should be green.&lt;/testE&gt;
   &lt;testF attribute=&quot;pass&quot;&gt;This should be green.&lt;/testF&gt;
   &lt;testG attribute=&quot;pass&quot;&gt;This should be green.&lt;/testG&gt;
  &lt;/tests&gt;
</xml>
  </source>
</test>