CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 122 of 182 | |
Testing | Date | Revision |
:empty pseudo-class and XML/SGML constructs (ID #150) | 2004-04-24 | 1.1 |
(Note: This test is based on unpublished errata.)
address:empty { background: lime; } address { background: red; margin: 0; height: 1em; } .text { margin: -1em 0 0 0; }
<address><!-- --><?test random PI></address> <div class="text">This line should have a green background.</div> <p>(Note: This test is based on unpublished errata.)</p>