<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-58.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Default attribute value and negation pseudo-class</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-59.xml">NEGATED class selector</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-57b.xml">NEGATED Attribute existence selector with declared namespace</data> </item>
  <item> <name>Test #</name> <data>68 of 256 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>Default attribute value and negation pseudo-class</data> </item>
  <item> <name>ID</name> <data>58</data> </item>
  <item> <name>Date</name> <data>12-november-2001</data> </item>
  <item> <name>Revision</name> <data>1.1</data> </item>
 </metadata>
  <content xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"> <!-- 'method' is an attribute with a default value in the XHTML DTD -->
 <form xmlns="http://www.w3.org/1999/xhtml" action="http://www.example.org/foo.cgi">
  <p>The paragraph should have a green background.</p>
 </form>
</content>
  <source>
   <css>form { background-color : red }
form:not([method]) { background-color : lime }
</css>
   <xml> &lt;!-- &#39;method&#39; is an attribute with a default value in the XHTML DTD --&gt;
 &lt;form xmlns=&quot;http://www.w3.org/1999/xhtml&quot; action=&quot;http://www.example.org/foo.cgi&quot;&gt;
  &lt;p&gt;The paragraph should have a green background.&lt;/p&gt;
 &lt;/form&gt;
</xml>
  </source>
</test>