Raw File
css3-modsel-148.xml
<csstest def=":empty pseudo-class and text" module="W3C Selectors" modulename="css3-modsel" number="148" rev="1.0" date="15-november-2001" xmlns="http://www.example.org/css3tests">

<author>Ian Hickson</author>

<cssrules>
 p { background: lime; }
 p:empty { background: red; }
</cssrules>

<code>
 <p xmlns="http://www.w3.org/1999/xhtml">This line should have a green background.</p>
</code>

</csstest>
back to top