Index: third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-inner-column-count-1-with-forced-break-2.html |
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-inner-column-count-1-with-forced-break-2.html b/third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-inner-column-count-1-with-forced-break-2.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9da162d86a01c5a2cb263fef845d532f9256265a |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-inner-column-count-1-with-forced-break-2.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<p>There should be a green square below, and no red.</p> |
+<div id="outer" style="columns:2; column-gap:0; width:20px; line-height:20px; background:red;"> |
+ <div style="columns:1; column-gap:0; background:green;"> |
+ <div><br></div> |
+ <div style="break-before:column;"><br></div> |
+ </div> |
+</div> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script> |
+test(() => { |
+ var elm = document.getElementById("outer"); |
+ assert_equals(elm.offsetHeight, 20); |
+}, "Inner column count is 1"); |
+</script> |