summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/as-column-flex-item.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-multicol/as-column-flex-item.html')
-rw-r--r--testing/web-platform/tests/css/css-multicol/as-column-flex-item.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/as-column-flex-item.html b/testing/web-platform/tests/css/css-multicol/as-column-flex-item.html
new file mode 100644
index 0000000000..21ff8d8d50
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/as-column-flex-item.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-multicol-1/">
+<link rel="help" href="https://www.w3.org/TR/css-sizing-3/">
+<meta name="assert" content="Tests that the intrinsic block-size of a multicol container is calculated correctly, including the border">
+<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="width:100px; height:100px; background:red;">
+ <div style="display:flex; flex-flow:column; background:red;">
+ <div style="columns:4; column-gap:0; border:30px solid green; width:40px;">
+ <div style="height:160px; background:green;"></div>
+ </div>
+ </div>
+</div>