1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
4 <title>Compact: Joining the line box model without changing the inheritance chain</title>
5 <style type="text/css">
6 .compact { display: compact; }
7 .block { display: block; color: red; background: lime; line-height: 0; margin-left: 10em; }
12 <p>There should be no red below.</p>
13 <div class="compact"> Test: </div>
14 <div class="block"> <span>This sentence should have a green background.</span> </div>