summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/zero-column-width-layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-multicol/zero-column-width-layout.html')
-rw-r--r--testing/web-platform/tests/css/css-multicol/zero-column-width-layout.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/zero-column-width-layout.html b/testing/web-platform/tests/css/css-multicol/zero-column-width-layout.html
new file mode 100644
index 0000000000..aaae421912
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/zero-column-width-layout.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<title>column-width:0</title>
+<meta name="assert" content="column-width:0 is valid as specified and computed value, but its used value may never be less than 1px">
+<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-multicol/#cw" title="3.1. column-width">
+<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
+<p>Test passes if there is a filled green square.</p>
+<div style="float:left; width:50px; height:100px; column-width:0; column-gap:0;">
+ <div style="height:5000px; background:green;"></div>
+</div>
+<div style="float:left; width:50px; height:100px; columns:0; column-gap:0;">
+ <div style="height:5000px; background:green;"></div>
+</div>