<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-18c.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>:hover pseudo-class on links</title>
 <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-19.xml">:active pseudo-class</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-18b.xml">:hover pseudo-class</data> </item>
  <item> <name>Test #</name> <data>28 of 296</data> </item>
  <item> <name>Testing</name> <data>:hover pseudo-class on links</data> </item>
  <item> <name>ID</name> <data>18c</data> </item>
  <item> <name>Date</name> <data>2004-02-29</data> </item>
  <item> <name>Revision</name> <data>1.0</data> </item>
 </metadata>
   <requirement>User interaction is required for this test.</requirement>
  <content>
 <p xmlns="http://www.w3.org/1999/xhtml"><a href="#foo">Hover <strong>here</strong> and the background of <span>this text should go green</span>.</a></p>
</content>
  <source>
   <css>
:link, :visited { color: navy; text-decoration: none; }
:link:hover span { background-color : lime }
</css>
   <xml>
 &lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;a href=&quot;#foo&quot;&gt;Hover &lt;strong&gt;here&lt;/strong&gt; and the background of &lt;span&gt;this text should go green&lt;/span&gt;.&lt;/a&gt;&lt;/p&gt;
</xml>
  </source>
</test>