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

<author>Ian Hickson</author>

<cssrules>
 address:empty { background: lime; }
 address { background: red; margin: 0; height: 1em; }
 .text { margin: -1em 0 0 0; }
</cssrules>

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

</csstest>
back to top