<?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>
 <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>106 of 130 of the static tests category</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>11-july-2001</data> </item>
  <item> <name>Revision</name> <data>1.0</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" xmlns:html="http://www.w3.org/1999/xhtml">
<div xmlns="http://www.w3.org/1999/xhtml" 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 xmlns="http://www.w3.org/1999/xhtml">This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t>This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>

</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.testText *:not(*|div) { display : block ; margin-bottom : 1em ;
                            background-color : red }
div.testText > *:not(*|p):not(*|div) { background-color : lime }
div.stub > *:not(*|div) { background-color : lime }
</css>
   <xml>
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/p>
&lt;p xmlns="">This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/p>
&lt;/div>
&lt;address xmlns="http://www.w3.org/1999/xhtml">This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t>This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>

</xml>
  </source>
</test>