| <csstest def=":empty pseudo-class and whitespace" module="W3C Selectors" modulename="css3-modsel" number="151" rev="1.0" date="15-november-2001" xmlns="http://www.example.org/css3tests"> |
| |
| <author>Ian Hickson</author> |
| |
| <cssrules> |
| address { background: lime; margin: 0; height: 1em; } |
| address:empty { background: red; } |
| .text { margin: -1em 0 0 0; } |
| </cssrules> |
| |
| <code> |
| <address xmlns="http://www.w3.org/1999/xhtml"> </address> |
| <div class="text" xmlns="http://www.w3.org/1999/xhtml">This line should have a green background.</div> |
| </code> |
| |
| </csstest> |