summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/margin-collapsing-bug616722-2.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/columns/margin-collapsing-bug616722-2.html
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/columns/margin-collapsing-bug616722-2.html')
-rw-r--r--layout/reftests/columns/margin-collapsing-bug616722-2.html79
1 files changed, 79 insertions, 0 deletions
diff --git a/layout/reftests/columns/margin-collapsing-bug616722-2.html b/layout/reftests/columns/margin-collapsing-bug616722-2.html
new file mode 100644
index 0000000000..76b2680df3
--- /dev/null
+++ b/layout/reftests/columns/margin-collapsing-bug616722-2.html
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<html><head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <title>616722-2</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: 3;
+ column-count: 3;
+ }
+ </style>
+</head>
+<body>
+ <div class="columns no-border" style="margin:10px 0"></div>
+ <div class="columns">
+ <p style="margin-top:10px">1</p>
+ <p>2</p>
+ <p>3</p>
+ </div>
+ <div class="columns no-border" style="padding:10px 0;background:none"><p></p></div>
+ <div class="columns">
+ <p style="margin-bottom:10px">1</p>
+ <p>2</p>
+ <p style="margin-bottom:20px">3</p>
+ </div>
+ <div class="columns">
+ <p style="margin:10px 0">1</p>
+ <p>2</p>
+ <p>3</p>
+ </div>
+ <div class="columns">
+ <p style="margin:20px 0 10px 0">1</p>
+ <p>2</p>
+ <p>3</p>
+ </div>
+ <div class="columns">
+ <p style="margin:20px 0 10px 0"></p>
+ <p></p>
+ <p style="margin:20px 0 10px 0"></p>
+ </div>
+
+ <div class="columns no-border">
+ <p style="margin-top:10px">1</p>
+ <p>2</p>
+ <p style="margin-bottom:20px">3</p>
+ </div>
+ <div class="columns no-border">
+ <p style="margin-bottom:10px">1</p>
+ <p>2</p>
+ <p>3</p>
+ </div>
+ <div class="columns no-border">
+ <p style="margin:10px 0">1</p>
+ <p>2</p>
+ <p>3</p>
+ </div>
+ <div class="columns no-border">
+ <p style="margin:20px 0 10px 0">1</p>
+ <p>2</p>
+ <p style="margin:20px 0 10px 0">3</p>
+ </div>
+ <div class="columns no-border">
+ <p style="margin:20px 0 10px 0"></p>
+ <p></p>
+ <p style="margin:20px 0 10px 0"></p>
+ </div>
+
+</body></html>