<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-182.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Namespaces and \: in 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-183.xml">Syntax and parsing of class selectors</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-181.xml">Case sensitivity</data> </item>
  <item> <name>Test #</name> <data>269 of 276 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>Namespaces and \: in selectors</data> </item>
  <item> <name>ID</name> <data>182</data> </item>
  <item> <name>Date</name> <data>2004-03-02</data> </item>
  <item> <name>Revision</name> <data>1.0</data> </item>
 </metadata>
   <requirement>The UA must support namespaces for this test.</requirement>
  <content>
<p xmlns="http://www.w3.org/1999/xhtml">
<foo:bar xmlns:foo="http://www.example.org/">
This text should be green.
</foo:bar>
</p>
</content>
  <source>
   <css>
p { color: green; }
foo\:bar { background: red; color: yellow; }
</css>
   <xml>
&lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;foo:bar xmlns:foo=&quot;http://www.example.org/&quot;&gt;
This text should be green.
&lt;/foo:bar&gt;
&lt;/p&gt;
</xml>
  </source>
</test>