<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-18b.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>:hover 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-18c.xml">:hover pseudo-class on links</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-18a.xml">:hover pseudo-class on links</data> </item>
  <item> <name>Test #</name> <data>26 of 303</data> </item>
  <item> <name>Testing</name> <data>:hover pseudo-class</data> </item>
  <item> <name>ID</name> <data>18b</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>
 <div xmlns="http://www.w3.org/1999/xhtml">
  <p>The background color of this paragraph should turn to green when the mouse pointer hovers over any of the following:<br></br><strong>This text.</strong></p>
  <p>This text.</p>
  <table><tr><td><table><tr><td><dl><dt>This text.</dt><dd>This text.</dd></dl></td></tr></table></td></tr><tr><td>This text.</td></tr></table>
  <p><sub>This text.</sub></p>
  <p>...and anything else between the top of the first paragraph and the bottom of this paragraph.</p>
 </div>
</content>
  <source>
   <css>div:hover &gt; p:first-child { background-color : lime }</css>
   <xml>
 &lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
  &lt;p&gt;The background color of this paragraph should turn to green when the mouse pointer hovers over any of the following:&lt;br&gt;&lt;/br&gt;&lt;strong&gt;This text.&lt;/strong&gt;&lt;/p&gt;
  &lt;p&gt;This text.&lt;/p&gt;
  &lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;dl&gt;&lt;dt&gt;This text.&lt;/dt&gt;&lt;dd&gt;This text.&lt;/dd&gt;&lt;/dl&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;This text.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
  &lt;p&gt;&lt;sub&gt;This text.&lt;/sub&gt;&lt;/p&gt;
  &lt;p&gt;...and anything else between the top of the first paragraph and the bottom of this paragraph.&lt;/p&gt;
 &lt;/div&gt;
</xml>
  </source>
</test>