gecko-dev/layout/reftests/columns/margin-collapsing-bug616722...

71 строка
2.2 KiB
HTML

<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>616722-1</title>
<style type="text/css">
body,html { margin:0;padding: 10px; font: 20px/1 sans-serif;}
p { margin: 0; background:pink; }
.columns {
-webkit-column-count: 1;
column-count: 1;
background-color:lime;
margin: 0em;
border: 1px solid black;
}
.no-border {
border-width:0;
}
</style>
</head>
<body>
<div class="columns">
<div style="padding:10px 0 3px 0"><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns">
<div style="padding:3px 0 10px 0"><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns">
<div style="padding:10px 0"><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns">
<div style="padding:20px 0 10px 0"><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns">
<div style="padding:20px 0 0 0"></div>
</div>
<div class="columns no-border">
<div style="padding:10px 0 3px 0"><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns no-border">
<div style="padding:3px 0 10px 0"><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns no-border">
<div style="padding:10px 0"><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns no-border">
<div style="padding:20px 0 10px 0"><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns no-border">
<div style="padding:20px 0 0 0"></div>
</div>
<!--
<div class="columns no-border" style="margin-bottom:3px">
<div><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns no-border" style="margin-top:3px">
<div><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns no-border">
<div><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns no-border" style="margin-top:20px">
<div><p>The quick brown fox jumps over the lazy dog.</p></div>
</div>
<div class="columns no-border">
<div></div>
</div>
-->
</body></html>