blob: 706ae4e09da3ccf021ed85e49105508efc2406d6 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>:empty pseudo-class and empty elements</title>
<style type="text/css">
address:empty { background: lime; }
address { background: red; margin: 0; height: 1em; }
.text { margin: -1em 0 0 0; }
</style>
<link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
<link rel="prev" href="css3-modsel-148.html" title=":empty pseudo-class and text">
<link rel="next" href="css3-modsel-149b.html" title=":empty pseudo-class and empty elements">
<link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child">
<link rel="up" href="./index.html">
<link rel="top" href="../../index.html">
</head>
<body>
<address></address>
<div class="text">This line should have a green background.</div>
</body>
</html>