<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-119.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED type element selector with universal 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-120.xml">NEGATED type element selector without declared namespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-118.xml">NEGATED type element selector with declared namespace</data> </item>
  <item> <name>Test #</name> <data>179 of 296</data> </item>
  <item> <name>Testing</name> <data>NEGATED type element selector with universal namespace</data> </item>
  <item> <name>ID</name> <data>119</data> </item>
  <item> <name>Date</name> <data>2002-07-30</data> </item>
  <item> <name>Revision</name> <data>1.2</data> </item>
 </metadata>
   <requirement>The UA must support namespaces for this test.</requirement>
  <content>
<div xmlns="http://www.w3.org/1999/xhtml" class="test">
<div class="stub">
<p>This paragraph should have a green background.</p>
<p xmlns="http://www.example.org/b">This paragraph should have a green background.</p>
<p xmlns="">This paragraph should have a green background.</p>
<p xmlns="http://www.example.org/a">This paragraph should have a green background.</p>
</div>
<address>This address should have a green background.</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background.</s>
<t xmlns="">This paragraph should have a green background.</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background.</u>
</div>
</content>
  <source>
   <css>@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.test *:not(*|div) { display : block ; margin-bottom : 1em ;
                            background-color : red }
div.test &gt; *:not(*|p):not(*|div) { background-color : lime }
div.stub &gt; *:not(*|div) { background-color : lime }
</css>
   <xml>
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;test&quot;&gt;
&lt;div class=&quot;stub&quot;&gt;
&lt;p&gt;This paragraph should have a green background.&lt;/p&gt;
&lt;p xmlns=&quot;http://www.example.org/b&quot;&gt;This paragraph should have a green background.&lt;/p&gt;
&lt;p xmlns=&quot;&quot;&gt;This paragraph should have a green background.&lt;/p&gt;
&lt;p xmlns=&quot;http://www.example.org/a&quot;&gt;This paragraph should have a green background.&lt;/p&gt;
&lt;/div&gt;
&lt;address&gt;This address should have a green background.&lt;/address&gt;
&lt;s xmlns=&quot;http://www.example.org/b&quot;&gt;This paragraph should have a green background.&lt;/s&gt;
&lt;t xmlns=&quot;&quot;&gt;This paragraph should have a green background.&lt;/t&gt;
&lt;u xmlns=&quot;http://www.example.org/a&quot;&gt;This paragraph should have a green background.&lt;/u&gt;
&lt;/div&gt;
</xml>
  </source>
</test>