summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-breaking-004.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-multicol/multicol-breaking-004.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-multicol/multicol-breaking-004.html')
-rw-r--r--testing/web-platform/tests/css/css-multicol/multicol-breaking-004.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/multicol-breaking-004.html b/testing/web-platform/tests/css/css-multicol/multicol-breaking-004.html
new file mode 100644
index 0000000000..10c48c07d1
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/multicol-breaking-004.html
@@ -0,0 +1,57 @@
+<!DOCTYPE HTML>
+<title>CSS Test: breaking of a multicolumn</title>
+<meta charset="utf-8">
+<link rel="author" title="L. David Baron" href="https://dbaron.org/">
+<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
+<link rel="author" title="Mozilla" href="https://mozilla.org/">
+<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
+<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
+<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2309">
+<link rel="help" href="https://drafts.csswg.org/css-break/#break-decoration">
+<link rel="match" href="multicol-breaking-004-ref.html">
+<style>
+
+.outer {
+ height: 125px;
+ column-fill: auto;
+ width: 800px;
+ column-count: 4;
+ column-rule: 4px solid blue;
+ column-gap: 16px;
+ background: rgba(0, 0, 255, 0.3);
+}
+
+.inner {
+ column-count: 2;
+ column-rule: 2px solid fuchsia;
+ column-gap: 16px;
+ background: rgba(255, 0, 255, 0.3);
+ font: 16px/1.25 sans-serif;
+ border: solid green;
+ border-width: 0 0 25px 0;
+ box-decoration-break: clone;
+}
+
+</style>
+
+<div class="outer">
+ <div class="inner" style="height: 300px">
+ AAAAA<br>
+ BBBBB<br>
+ CCCCC<br>
+ DDDDD<br>
+ EEEEE<br>
+ FFFFF<br>
+ GGGGG<br>
+ HHHHH<br>
+ IIIII<br>
+ JJJJJ<br>
+ KKKKK<br>
+ LLLLL<br>
+ MMMMM<br>
+ NNNNN<br>
+ OOOOO<br>
+ PPPPP<br>
+ QQQQQ
+ </div>
+</div>