Index: third_party/WebKit/LayoutTests/fast/multicol/nested-one-line-in-inner.html |
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/nested-one-line-in-inner.html b/third_party/WebKit/LayoutTests/fast/multicol/nested-one-line-in-inner.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..498fc198499bcfc4e636cce3311d983c065224da |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/multicol/nested-one-line-in-inner.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/check-layout.js"></script> |
+<p>Test that an inner multicol with only one line makes the outer multicol tall enough to contain it.</p> |
+<p>There should be a blue square below.</p> |
+<div id="outer" style="-webkit-columns:4; line-height:80px;" data-expected-height="80"> |
+ <div style="-webkit-columns:4;" data-expected-height="80"> |
+ <div style="display:inline-block; vertical-align:top; width:80px; height:80px; background:blue;"></div> |
+ </div> |
+</div> |
+<script> |
+ checkLayout("#outer"); |
+</script> |