blob: fd2cb71158ce72935f201c18261421bc99950b89 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>Compact: Joining the line box model without changing the inheritance chain</title>
<style type="text/css">
.compact { display: compact; }
.block { display: block; color: red; background: lime; line-height: 0; margin-left: 10em; }
span { color: black; }
</style>
</head>
<body>
<p>There should be no red below.</p>
<div class="compact"> Test: </div>
<div class="block"> <span>This sentence should have a green background.</span> </div>
</body>
</html>