summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/tall-line-in-short-fragmentainer-000.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/tall-line-in-short-fragmentainer-000.html')
-rw-r--r--testing/web-platform/tests/css/css-break/tall-line-in-short-fragmentainer-000.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/tall-line-in-short-fragmentainer-000.html b/testing/web-platform/tests/css/css-break/tall-line-in-short-fragmentainer-000.html
new file mode 100644
index 0000000000..8e9515c4b6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/tall-line-in-short-fragmentainer-000.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-break-3/#unforced-breaks">
+<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="columns:3; column-fill:auto; column-gap:0; width:300px; height:50px;">
+ <div style="width:200px; height:0;">
+ <div style="height:20px; background:red;"></div>
+ </div>
+ <!-- No valid breakpoint here, since the preceding sibling takes up no space
+ (and its overflowing child ends up in a parallel flow). -->
+ <div style="height:120px;">
+ <!-- Can't break inside lines. Let it overflow the (shorter) fragmentainer,
+ but not its container. Consume 100px from it. -->
+ <div style="display:inline-block; vertical-align:top; width:100px; height:100px; background:green;"></div>
+ </div>
+ <div style="margin-top:-20px; height:20px; background:white;"></div>
+</div>