Index: third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing.html |
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing.html b/third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b11293a5d5df15bec9b8fc22340b6927b633c3fc |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/check-layout.js"></script> |
+<p>Test that incorrect margin collapsing estimates (which will trigger another layout pass) |
+ doesn't upset column balancing.</p> |
+<p>There should be a hotpink square below.</p> |
+<div id="container" style="position:relative; -webkit-columns:3; -webkit-column-gap:0; width:90px; line-height:60px;"> |
+ <div style="background:hotpink;" data-offset-x="0" data-offset-y="0"><br></div> |
+ <br> |
+ <div style="background:hotpink;" data-offset-x="30" data-offset-y="0"><br></div> |
+ <div id="outer"> |
+ <div></div> |
+ <div id="inner" style="margin-top:60px;"> |
+ <div style="-webkit-column-break-before:always;"></div> |
+ </div> |
+ </div> |
+ <br> |
+ <br> |
+</div> |
+<script> |
+ checkLayout("#container"); |
+</script> |