<?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-63.xml">NEGATED :hover pseudo-class</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-21.xml">:target pseudo-class</data> </item>
  <item> <name>Test #</name> <data>6 of 15 of the interactive tests category</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>20-november-2001</data> </item>
  <item> <name>Revision</name> <data>1.1</data> </item>
 </metadata>
   <requirement>User interaction is required for this test.</requirement>
  <content xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml">
<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>