blob: 8ad39654d16ad24f2b27b6f720c50fa95be8cf2d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">
<head>
<title>Margin Collapsing: in flow (block-inside-inline version)</title>
<style type="text/css">
table { border-spacing: 0; font-size: 50px; border: solid; }
td { background: orange; padding: 0; }
div { margin: 1em 0; }
.a { background: yellow; }
.b { background: lime; }
.c { background: aqua; }
.d { background: blue; }
.red { background: red; }
</style>
</head>
<body>
<p>The following two columns should be pixel perfect identical with no red visible.</p>
<table>
<tr>
<td class="test">
<span><div class="d">
<span><div class="red"><span><div class="red"><span><div class="a">A</div></span></div><span><div class="red"></div></span></div></span>
<span><div class="red"></div></span>
<span><div class="red"><span><div class="red"></div></span></div></span>
<span><div class="red"><span><div class="b"><span><div class="red"></div></span>B</div></span></div></span>
<span><div class="c">C</div></span>
</div></span>
</td>
<td class="control">
<div class="d">
<div class="a">A</div>
<div class="b">B</div>
<div class="c">C</div>
</div>
</td>
</tr>
</table>
<p>This test is meaningless if you don't pass <a href="006.html#">test 006</a>.</p>
</body>
</html>