summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/column-balancing-nested-001-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/columns/column-balancing-nested-001-ref.html
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/columns/column-balancing-nested-001-ref.html')
-rw-r--r--layout/reftests/columns/column-balancing-nested-001-ref.html65
1 files changed, 65 insertions, 0 deletions
diff --git a/layout/reftests/columns/column-balancing-nested-001-ref.html b/layout/reftests/columns/column-balancing-nested-001-ref.html
new file mode 100644
index 0000000000..21d4aef395
--- /dev/null
+++ b/layout/reftests/columns/column-balancing-nested-001-ref.html
@@ -0,0 +1,65 @@
+<!--
+ 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-family:monospace; font-size:16px; padding:0; margin:0;
+ }
+
+ .colset {
+ column-count: 2;
+ column-gap: 0px;
+ column-rule: 1px solid black;
+ width:30ch;
+ }
+ .colset.lvl2 {
+ column-rule: 1px solid blue;
+ }
+ .colset.lvl3 {
+ column-rule: 1px solid red;
+ }
+ p { margin: 0; }
+ .non-balancing {
+ column-count: 1;
+ }
+ .fixed-height.lvl2 {
+ column-count: 2;
+ }
+ .fixed-height {
+ column-count: 1;
+ height:3em;
+ }
+</style>
+</head>
+<body>
+<div class="colset">
+ <p>one one one one one</p>
+ <div class="colset non-balancing lvl2">
+ <p>two two two two<br>two</p>
+ </div>
+</div>
+<br>
+<div class="colset">
+ <p>one one one one one<br>one</p>
+ <div class="colset fixed-height lvl2">
+ <p>two two two two two</p>
+ </div>
+</div>
+<br>
+<div class="colset">
+ <p>one<br>one</p>
+ <div class="colset lvl2">
+ <p>two</p>
+ <div class="colset fixed-height lvl3">
+ <p>three three three three three three</p>
+ </div>
+ </div>
+</div>
+</body>
+</html>