summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/margin-collapsing-bug616722-1.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/margin-collapsing-bug616722-1.html
parentInitial commit. (diff)
downloadfirefox-esr-upstream.tar.xz
firefox-esr-upstream.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/columns/margin-collapsing-bug616722-1.html')
-rw-r--r--layout/reftests/columns/margin-collapsing-bug616722-1.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/layout/reftests/columns/margin-collapsing-bug616722-1.html b/layout/reftests/columns/margin-collapsing-bug616722-1.html
new file mode 100644
index 0000000000..9f404eb0c2
--- /dev/null
+++ b/layout/reftests/columns/margin-collapsing-bug616722-1.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html><head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <title>616722-1</title>
+
+ <style type="text/css">
+ body,html { margin:0;padding: 10px; font: 20px/1 sans-serif;}
+ p { margin: 3px 0; background:pink; }
+ div {
+ background-color:lime;
+ margin: 0em;
+ border: 1px solid black;
+ }
+ .no-border {
+ border-style: none;
+ }
+
+ .columns {
+ -webkit-column-count: 1;
+ column-count: 1;
+ }
+ </style>
+</head>
+<body>
+ <div class="columns">
+ <p style="margin-top:10px">The quick brown fox jumps over the lazy dog.</p>
+ </div>
+ <div class="columns">
+ <p style="margin-bottom:10px">The quick brown fox jumps over the lazy dog.</p>
+ </div>
+ <div class="columns">
+ <p style="margin:10px 0">The quick brown fox jumps over the lazy dog.</p>
+ </div>
+ <div class="columns">
+ <p style="margin:20px 0 10px 0">The quick brown fox jumps over the lazy dog.</p>
+ </div>
+ <div class="columns">
+ <p style="margin:20px 0 10px 0"></p>
+ </div>
+
+ <div class="columns no-border">
+ <p style="margin-top:10px">The quick brown fox jumps over the lazy dog.</p>
+ </div>
+ <div class="columns no-border">
+ <p style="margin-bottom:10px">The quick brown fox jumps over the lazy dog.</p>
+ </div>
+ <div class="columns no-border">
+ <p style="margin:10px 0">The quick brown fox jumps over the lazy dog.</p>
+ </div>
+ <div class="columns no-border">
+ <p style="margin:20px 0 10px 0">The quick brown fox jumps over the lazy dog.</p>
+ </div>
+ <div class="columns no-border">
+ <p style="margin:20px 0 10px 0"></p>
+ </div>
+
+</body></html>