Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / compact / 001.html
blobfd2cb71158ce72935f201c18261421bc99950b89
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html>
3 <head>
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; }
8 span { color: black; }
9 </style>
10 </head>
11 <body>
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>
15 </body>
16 </html>