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