Index: third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-with-margin.html |
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-with-margin.html b/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-with-margin.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0d50b11aeb6a0972811bddd762e90a36ebf7e6bb |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-with-margin.html |
@@ -0,0 +1,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> |