summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/flexbox/single-line-row-flex-fragmentation-030.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/flexbox/single-line-row-flex-fragmentation-030.html')
-rw-r--r--testing/web-platform/tests/css/css-break/flexbox/single-line-row-flex-fragmentation-030.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/flexbox/single-line-row-flex-fragmentation-030.html b/testing/web-platform/tests/css/css-break/flexbox/single-line-row-flex-fragmentation-030.html
new file mode 100644
index 0000000000..a70ad1473e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/flexbox/single-line-row-flex-fragmentation-030.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<title>
+ Single-line row flex fragmentation: If the fragmentainer is out of space
+ but a flex row should break before if it has content w/ vertical
+ writing-mode.
+</title>
+<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
+<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
+<style>
+ #flex {
+ display: flex;
+ }
+</style>
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="writing-mode: vertical-lr;">
+ <div style="inline-size: 100px; block-size: 100px; columns: 2; column-gap: 0; column-fill: auto; background: red;">
+ <div style="block-size: 100px; inline-size: 100px; background: green;"></div>
+ <div id="flex">
+ <div style="block-size: 100px; inline-size: 100px; background: green;"></div>
+ </div>
+ </div>
+</div>