servo/tests/wpt/web-platform-tests/css/css3-selectors/css3-modsel-159.xml

16 lines
491 B
XML

<csstest def="Syntax and parsing of new pseudo-elements" module="W3C Selectors" modulename="css3-modsel" number="159" rev="1.0" date="20-november-2001" xmlns="http://www.example.org/css3tests">
<author>Ian Hickson</author>
<userinteraction/>
<cssrules>
::selection { background: lime; }
:selection { background: red; }
</cssrules>
<code>
<p xmlns="http://www.w3.org/1999/xhtml">Try selecting some text in this document. It should be have a green background.</p>
</code>
</csstest>