weinig@apple.com | 19d9205 | 2011-07-15 20:41:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>:empty pseudo-class and empty elements</title> |
| 5 | <style type="text/css"> |
| 6 | address:empty { background: lime; } |
| 7 | address { background: red; margin: 0; height: 1em; } |
| 8 | .text { margin: -1em 0 0 0; } |
| 9 | </style> |
| 10 | <link rel="first" href="css3-modsel-1.html" title="Groups of selectors"> |
| 11 | <link rel="prev" href="css3-modsel-148.html" title=":empty pseudo-class and text"> |
| 12 | <link rel="next" href="css3-modsel-149b.html" title=":empty pseudo-class and empty elements"> |
| 13 | <link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child"> |
| 14 | <link rel="up" href="./index.html"> |
| 15 | <link rel="top" href="../../index.html"> |
| 16 | </head> |
| 17 | <body> |
| 18 | <address></address> |
| 19 | <div class="text">This line should have a green background.</div> |
| 20 | </body> |
| 21 | </html> |