summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-with-margin.html
blob: 0d50b11aeb6a0972811bddd762e90a36ebf7e6bb (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<script src="../../resources/check-layout.js"></script>
<p>When its first line needs a column break, test that we push the entire float to the next column.</p>
<p>There should be a blue square below. It should be right-bottom aligned inside a cyan box.</p>
<div id="multicol" style="position:relative; -webkit-columns:2; -webkit-column-gap:0; column-fill:auto; width:80px; height:80px; line-height:40px; background:cyan;">
    <div style="height:40px;"></div>
    <div data-offset-y="40" data-offset-x="40" style="float:left; width:100%; margin-top:40px; background:blue;"><br></div>
</div>
<script>
    checkLayout("#multicol");
</script>