CSS 3 Module <== Test # ==>
W3C Selectors 105 of 140 of the static tests category
Testing Date Revision
:empty pseudo-class and empty elements (ID #149b) 15-november-2001 1.0
This line should have a green background.
 address:empty { background: lime; }
 address { background: red; margin: 0; height: 1em; }
 .text { margin: -1em 0 0 0; }
 <address></address>
 <div class="text">This line should have a green background.</div>