summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-break/box-decoration-break-block-margin.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/css-break/box-decoration-break-block-margin.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/css-break/box-decoration-break-block-margin.html')
-rw-r--r--layout/reftests/css-break/box-decoration-break-block-margin.html65
1 files changed, 65 insertions, 0 deletions
diff --git a/layout/reftests/css-break/box-decoration-break-block-margin.html b/layout/reftests/css-break/box-decoration-break-block-margin.html
new file mode 100644
index 000000000..56791b3ba
--- /dev/null
+++ b/layout/reftests/css-break/box-decoration-break-block-margin.html
@@ -0,0 +1,65 @@
+<!DOCTYPE HTML>
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<html>
+<head>
+ <title>Testcase for box-decoration-break:clone, block margin</title>
+ <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1025669">
+ <link rel="help" href="http://dev.w3.org/csswg/css-break/#break-decoration">
+ <link rel="match" href="box-decoration-break-block-margin-ref.html">
+ <meta charset="utf-8">
+ <style type="text/css">
+ html,body {
+ color:black; background-color:white; font-size:16px; padding:10px; margin:0;
+ }
+
+ .inner {
+ box-decoration-break: clone;
+ border: 5px dashed blue;
+ margin: 7px 3px 5px 1px;
+ height: 78px;
+ width: 40px;
+ background: lime;
+ background-clip: content-box;
+ }
+
+ .columns {
+ -moz-columns: 3;
+ width: 250px;
+ height: 50px;
+ background: grey;
+ margin-top: 2px;
+ }
+
+ .unbalanced {
+ -moz-column-fill: auto;
+ }
+
+ .inner.p { height:87px; }
+ .inner.p2 { height:84px; }
+
+ .p3, .p4, .p5, .p6 { border-style:none; }
+ .inner div { height:16px; }
+ .inner.p3 div { margin: 3px; }
+ .inner.p4 div { margin: 11px 3px 5px 1px; }
+ .inner.p5 div { box-decoration-break: clone; margin: 3px; }
+ .inner.p6 div { box-decoration-break: clone; margin: 11px 3px 5px 1px; }
+ </style>
+</head>
+<body>
+
+<div class="columns"><div class="inner"></div></div>
+<div class="columns unbalanced"><div class="inner"></div></div>
+<div class="columns"><div class="p inner"></div></div>
+<div class="columns unbalanced"><div class="p2 inner"></div></div>
+
+<!-- margin collapsing with innermost DIV -->
+<div class="columns unbalanced"><div class="p3 inner"><div></div></div></div>
+<div class="columns unbalanced"><div class="p4 inner"><div></div></div></div>
+<div class="columns unbalanced"><div class="p5 inner"><div></div></div></div>
+<div class="columns unbalanced"><div class="p6 inner"><div></div></div></div>
+
+</body>
+</html>