summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/margin-collapsing-bug616722-2.html
blob: 76b2680df366a104b6d55997bc4e4a45a00c59ad (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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>