<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-19.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>:active 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-19b.xml">:active pseudo-class on controls</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-18c.xml">:hover pseudo-class on links</data> </item>
  <item> <name>Test #</name> <data>29 of 296</data> </item>
  <item> <name>Testing</name> <data>:active pseudo-class</data> </item>
  <item> <name>ID</name> <data>19</data> </item>
  <item> <name>Date</name> <data>2001-11-03</data> </item>
  <item> <name>Revision</name> <data>1.1</data> </item>
 </metadata>
   <requirement>User interaction is required for this test.</requirement>
  <content>
<p xmlns="http://www.w3.org/1999/xhtml">The background color of <a href="#foo">the anchor</a>
   should turn to green when it is activated and come back to
   normal when it is released.</p>
</content>
  <source>
   <css>a:active { background-color : lime }</css>
   <xml>
&lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;The background color of &lt;a href=&quot;#foo&quot;&gt;the anchor&lt;/a&gt;
   should turn to green when it is activated and come back to
   normal when it is released.&lt;/p&gt;
</xml>
  </source>
</test>