blob: f046252aa4208cacf29258ba964b6f5e1d6db38e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<!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 border+padding</title>
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=988653">
<meta charset="utf-8">
<style type="text/css">
html,body {
color:black; background-color:white; font-size:16px; padding:10px; margin:0;
}
.inner {
border: 5px dashed blue;
height: 33px;
width: 40px;
background: lime;
background-clip: content-box;
margin-bottom: 12px;
}
.columns {
-moz-columns: 3;
width: 250px;
height: 50px;
background: grey;
margin-top: 2px;
}
.unbalanced {
-moz-column-fill: auto;
}
.inner.p { height:31px; padding:1px 3px 5px 7px; }
.unbalanced .inner { height:40px; margin-bottom: 0px;}
.unbalanced .inner.p { height:34px; }
</style>
</head>
<body>
<div class="columns"><div class="inner"></div><div class="inner"></div><div class="inner"></div></div>
<div class="columns unbalanced"><div class="inner"></div><div class="inner"></div><div class="inner" style="height:19px"></div></div>
<div class="columns"><div class="p inner"></div><div class="p inner"></div><div class="p inner"></div></div>
<div class="columns unbalanced"><div class="p inner"></div><div class="p inner"></div><div class="p inner" style="height:25px"></div></div>
</body>
</html>
|