<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-50.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED attribute existence selector</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-51.xml">NEGATED attribute value selector</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-49.xml">NEGATED omitted universal selector is forbidden</data> </item>
  <item> <name>Test #</name> <data>77 of 296</data> </item>
  <item> <name>Testing</name> <data>NEGATED attribute existence selector</data> </item>
  <item> <name>ID</name> <data>50</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">
<q xmlns="http://www.example.org/a" test="1">
  <r>This text should be in green characters</r>
</q>
<s xmlns="http://www.example.org/a">This text should be in green characters</s>
</div>
</content>
  <source>
   <css>@namespace a url(http://www.example.org/a);
a|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test]) { color : lime }</css>
   <xml>
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;stub&quot;&gt;
&lt;q xmlns=&quot;http://www.example.org/a&quot; test=&quot;1&quot;&gt;
  &lt;r&gt;This text should be in green characters&lt;/r&gt;
&lt;/q&gt;
&lt;s xmlns=&quot;http://www.example.org/a&quot;&gt;This text should be in green characters&lt;/s&gt;
&lt;/div&gt;
</xml>
  </source>
</test>