Index: third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-with-padding-exact-fit.html |
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-with-padding-exact-fit.html b/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-with-padding-exact-fit.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..005f12100b71369f58dd62358b91cbe0e4e91e95 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-with-padding-exact-fit.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/check-layout.js"></script> |
+<p>When its first line needs a column break, we should push the entire block to the next column, also when it just barely fits.</p> |
+<p>There should be a blue square below.</p> |
+<div id="multicol" style="position:relative; -webkit-columns:2; -webkit-column-gap:0; column-fill:auto; width:80px; height:40px; line-height:30px;"> |
+ <div style="height:10px;"></div> |
+ <div data-offset-x="40" data-offset-y="0" style="padding-top:10px; background:blue;"><br></div> |
+</div> |
+<script> |
+ checkLayout("#multicol"); |
+</script> |