summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/column-balancing-nested-000-ref.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 /layout/reftests/columns/column-balancing-nested-000-ref.html
parentInitial commit. (diff)
downloadfirefox-e51783d008170d9ab27d25da98ca3a38b0a41b67.tar.xz
firefox-e51783d008170d9ab27d25da98ca3a38b0a41b67.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/columns/column-balancing-nested-000-ref.html')
-rw-r--r--layout/reftests/columns/column-balancing-nested-000-ref.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/layout/reftests/columns/column-balancing-nested-000-ref.html b/layout/reftests/columns/column-balancing-nested-000-ref.html
new file mode 100644
index 0000000000..6dba85fdd4
--- /dev/null
+++ b/layout/reftests/columns/column-balancing-nested-000-ref.html
@@ -0,0 +1,62 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/licenses/publicdomain/
+-->
+<!DOCTYPE html>
+<html lang="en-US">
+<head>
+ <title>Testing nested balancing column sets</title>
+ <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=822053">
+<style type="text/css">
+ html,body {
+ color:black; background-color:white; font-size:16px; padding:0; margin:0;
+ }
+
+ .colset {
+ column-count: 2;
+ column-gap: 1px;
+ column-rule: 1px solid black;
+ border: solid silver;
+ width:30ch;
+ }
+ p { margin: 0; }
+
+ /* balancing column sets deeper than level 2 should only use 1 column */
+ .colset .colset .colset,
+ .colset .colset .colset .colset {
+ column-count: 1;
+ }
+</style>
+</head>
+<body>
+<div class="colset">
+ <p>one one one one one</p>
+ <div class="colset">
+ <p>two two two two two</p>
+ </div>
+</div>
+<br>
+<div class="colset">
+ <p>one one one one one</p>
+ <div class="colset">
+ <p>two two two two two</p>
+ <div class="colset">
+ <p>three three three three three</p>
+ </div>
+ </div>
+</div>
+<br>
+<div class="colset">
+ <p>one one one one one</p>
+ <div class="colset">
+ <p>two two two two two</p>
+ <div class="colset">
+ <p>three three</p>
+ <div class="colset">
+ <p>four four four four four</p>
+ </div>
+ </div>
+ </div>
+</div>
+</body>
+</html>