<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-40.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>::selection pseudo-element</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-41.xml">::before pseudo-element</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-39c.xml">::first-letter pseudo-element with ::before pseudo-element</data> </item>
  <item> <name>Test #</name> <data>58 of 304</data> </item>
  <item> <name>Testing</name> <data>::selection pseudo-element</data> </item>
  <item> <name>ID</name> <data>40</data> </item>
  <item> <name>Date</name> <data>2001-11-20</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">Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background.</p>
</content>
  <source>
   <css>p::selection { background-color : lime }
</css>
   <xml>
&lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background.&lt;/p&gt;
</xml>
  </source>
</test>