summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/overflowing-block-003.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /testing/web-platform/tests/css/css-break/overflowing-block-003.html
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-break/overflowing-block-003.html')
-rw-r--r--testing/web-platform/tests/css/css-break/overflowing-block-003.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/overflowing-block-003.html b/testing/web-platform/tests/css/css-break/overflowing-block-003.html
new file mode 100644
index 0000000000..786a61a492
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/overflowing-block-003.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
+<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
+<link rel="match" href="overflowing-block-003-ref.html">
+<link rel="help" href="https://drafts.csswg.org/css-break-3/#parallel-flows">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=563436">
+<link rel="stylesheet" href="/fonts/ahem.css">
+
+<style>
+.multicol {
+ width: 150px;
+ height: 50px;
+ columns: 2;
+ column-gap: 0;
+ column-fill: auto;
+ border: 3px solid black;
+ margin: 10px;
+}
+.outer {
+ margin-right: 25px;
+}
+.inner {
+ background: green;
+ color: green;
+ font: 25px/1 Ahem;
+ word-break: break-all;
+}
+</style>
+
+<p>This test passes if there are two 50x50 green squares in each black box.</p>
+
+<div class="multicol">
+ <div class="outer">
+ <div class="inner" style="float: left">
+ AAAA BBBB
+ </div>
+ </div>
+</div>
+
+<div class="multicol">
+ <div class="outer" style="height: 0">
+ <div class="inner" style="height: 100px"></div>
+ </div>
+</div>