blob: 331409e40de57f3253cc7b901331ef7711f9c8ab (
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<title>Reftest, bug 427129</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
html, body { margin: 0; }
.contain {
background: aqua; color: black;
height: 10px; margin: 2px 50px;
padding-top: 0.1px; /* needed for some reason (XXX WHY?) */
}
.t { background: blue; height: 5px; width: 100px; }
</style>
</head>
<body>
<div class="contain">
<div class="t" style="margin-left: 56px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 73px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 100px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: auto; margin-right: 73px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: auto; margin-right: 73px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: auto; margin-right: 73px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: auto; margin-right: 73px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: auto; margin-right: 100px"></div>
</div>
<!-- Remember that the extra end-edge margin gets ignored -->
<div style="width: 300px">
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-top: 5px; width: 72px"></div>
</div>
<div class="contain">
<div class="t" style="margin-top: 5px; margin-left: 15px; width: 72px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-top: 5px; margin-left: 57px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-top: 5px; margin-left: 15px; width: 72px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-top: 5px; width: 73px"></div>
</div>
<div class="contain">
<div class="t" style="margin-top: 5px; margin-left: 15px; width: 73px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-top: 5px; margin-left: 57px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-left: 56px; width: 71px"></div>
</div>
<div class="contain">
<div class="t" style="margin-top: 5px; margin-left: 15px; width: 73px"></div>
</div>
</div>
</body>
</html>
|