Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / multicol / float-with-margin-moved-by-child-line.html
blob47513a7d130f868edaef4836d06fd83de18ff4ee
1 <!DOCTYPE html>
2 <script src="../../resources/check-layout.js"></script>
3 <p>Test that space is reserved for the top margin of a float that is pushed to the next column. It
4 gets pushed to next column because its first line cannot fit at its designated position in the
5 first column.</p>
6 <p>There should be a blue rectangle below.</p>
7 <div id="test" style="position:relative; -webkit-columns:3; -webkit-column-gap:0; column-fill:auto; width:150px; height:90px; line-height:20px;">
8 <div style="margin-top:5px; margin-bottom:15px; height:40px; background:blue;"></div>
9 <br>
10 <div data-offset-y="5" style="float:left; width:100%; margin-top:5px; background:blue;">
11 <br><br>
12 </div>
13 </div>
14 <script>
15 checkLayout("#test");
16 </script>