<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-68.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED :enabled pseudo-class</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-69.xml">NEGATED :disabled pseudo-class</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-67.xml">NEGATED :lang() pseudo-class</data> </item>
  <item> <name>Test #</name> <data>85 of 282</data> </item>
  <item> <name>Testing</name> <data>NEGATED :enabled pseudo-class</data> </item>
  <item> <name>ID</name> <data>68</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">
<button xmlns="http://www.w3.org/1999/xhtml" disabled="disabled">A button (disabled) with green background</button>
<br xmlns="http://www.example.org/css3tests"></br>
<input xmlns="http://www.w3.org/1999/xhtml" disabled="disabled" type="text" size="36" value="a text area (disabled) with green background"></input>
</content>
  <source>
   <css>button { background-color : red }
input { background-color : red }
button:not(:enabled) { background-color : lime }
input:not(:enabled)  { background-color : lime }</css>
   <xml>
&lt;button xmlns=&quot;http://www.w3.org/1999/xhtml&quot; disabled=&quot;disabled&quot;&gt;A button (disabled) with green background&lt;/button&gt;
&lt;br xmlns=&quot;http://www.example.org/css3tests&quot;&gt;&lt;/br&gt;
&lt;input xmlns=&quot;http://www.w3.org/1999/xhtml&quot; disabled=&quot;disabled&quot; type=&quot;text&quot; size=&quot;36&quot; value=&quot;a text area (disabled) with green background&quot;&gt;&lt;/input&gt;
</xml>
  </source>
</test>