summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-fill-balance-002.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-multicol/multicol-fill-balance-002.html')
-rw-r--r--testing/web-platform/tests/css/css-multicol/multicol-fill-balance-002.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/multicol-fill-balance-002.html b/testing/web-platform/tests/css/css-multicol/multicol-fill-balance-002.html
new file mode 100644
index 0000000000..fb6004d47b
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/multicol-fill-balance-002.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<title>CSS Multi-column Layout Test: Balancing with more forced breaks than columns</title>
+<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#cf" title="7.1. column-fill">
+<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
+<meta name="assert" content="This multicol container will create overflowing columns, no matter what, due to forced break. Don't overstretch.">
+<p>Test passes if there is a filled green square.</p>
+<div style="columns:2; column-gap:0; width:100px; background:green;">
+ <div style="height:100px;"></div>
+ <div style="break-before:column; height:90px;"></div>
+ <div style="break-before:column; height:10px;"></div>
+</div>