Bug 1800044 [wpt PR 36907] - Fix same URL navigation test, a=testonly
[gecko.git] / layout / reftests / margin-collapsing / reftest.list
blob7a9a69f867d997933851c4b23450f661217779c1
1 # Test Suite for CSS 2.1, 8.3.1 Collapsing margins - See Bug 477462
2 # Based on CSS 2.1: http://www.w3.org/TR/2011/REC-CSS2-20110607/
3 # and its Errata, Last revised: $Date: 2013-09-09 17:40:16 $
4 # The structure of this manifest is intended to resemble the structure of
5 # the prose that defines collapsing margins. As a result, there are several
6 # sections where inline-block-, block-, and other- series are combined.
7 # E.g. the first section is about horizontal margins and includes both
8 # inline- and block series.
9 # "Horizontal margins never collapse."
10 # Horizontal margins of inline boxes do not collapse.
11 # The norefs for these tests depict margins that incorrectly collapsed.
12 == inline-horizontal-1.html inline-horizontal-1-ref.html
13 != inline-horizontal-1.html inline-horizontal-1-noref.html
14 == inline-horizontal-2.html inline-horizontal-2-ref.html
15 != inline-horizontal-2.html inline-horizontal-2-noref.html
16 == inline-horizontal-1-dyn.html inline-horizontal-1-ref.html
17 != inline-horizontal-1-dyn.html inline-horizontal-1-noref.html
18 == inline-horizontal-2-dyn.html inline-horizontal-2-ref.html
19 != inline-horizontal-2-dyn.html inline-horizontal-2-noref.html
20 # Horizontal margins of block boxes do not collapse.
21 # These block boxes are actually floats - in CSS 2.1 there is no other
22 # method to create horizontally adjacent block boxes.
23 == block-horizontal-1.html block-horizontal-1-ref.html
24 != block-horizontal-1.html block-horizontal-1-noref.html
25 == block-horizontal-2.html block-horizontal-2-ref.html
26 != block-horizontal-2.html block-horizontal-2-noref.html
27 == block-horizontal-3.html block-horizontal-3-ref.html
28 != block-horizontal-3.html block-horizontal-3-noref.html
29 == block-horizontal-4.html block-horizontal-4-ref.html
30 != block-horizontal-4.html block-horizontal-4-noref.html
31 == block-horizontal-1-dyn.html block-horizontal-1-ref.html
32 != block-horizontal-1-dyn.html block-horizontal-1-noref.html
33 == block-horizontal-2-dyn.html block-horizontal-2-ref.html
34 != block-horizontal-2-dyn.html block-horizontal-2-noref.html
35 == block-horizontal-3-dyn.html block-horizontal-3-ref.html
36 != block-horizontal-3-dyn.html block-horizontal-3-noref.html
37 == block-horizontal-4-dyn.html block-horizontal-4-ref.html
38 != block-horizontal-4-dyn.html block-horizontal-4-noref.html
39 # Horizontal margins of inline-block boxes do not collapse.
40 == inline-block-horizontal-1.html inline-block-horizontal-1-ref.html
41 != inline-block-horizontal-1.html inline-block-horizontal-1-noref.html
42 == inline-block-horizontal-2.html inline-block-horizontal-2-ref.html
43 != inline-block-horizontal-2.html inline-block-horizontal-2-noref.html
44 == inline-block-horizontal-1-dyn.html inline-block-horizontal-1-ref.html
45 != inline-block-horizontal-1-dyn.html inline-block-horizontal-1-noref.html
46 == inline-block-horizontal-2-dyn.html inline-block-horizontal-2-ref.html
47 != inline-block-horizontal-2-dyn.html inline-block-horizontal-2-noref.html
48 # Horizontal margins of inline-tables do not collapse.
49 == inline-table-horizontal-1.html inline-table-horizontal-1-ref.html
50 != inline-table-horizontal-1.html inline-table-horizontal-1-noref.html
51 == inline-table-horizontal-1-dyn.html inline-table-horizontal-1-ref.html
52 != inline-table-horizontal-1-dyn.html inline-table-horizontal-1-noref.html
53 # "In CSS, the adjoining margins of two or more boxes
54 #  (which might or might not be siblings) can combine to form a single margin.
55 #  Margins that combine this way are said to collapse,
56 #  and the resulting combined margin is called a collapsed margin."
57 # "Two margins are adjoining if and only if:" [...]
58 # "both belong to vertically-adjacent box edges,
59 #  i.e. form one of the following pairs:" [...]
60 # "bottom margin of box and top margin of its next in-flow following sibling"
61 # "When two or more margins collapse,
62 #  the resulting margin width is the maximum of the collapsing margins' widths."
63 # The margins of two in-flow siblings should collapse.
64 # These tests feature margins of different or equal sizes on each box.
65 # The norefs depict incorrect results where the margins did not collapse.
66 == block-sibling-1a.html block-sibling-1-ref.html
67 == block-sibling-1a.html block-sibling-1-ref2.html
68 != block-sibling-1a.html block-sibling-1-noref.html
69 == block-sibling-1b.html block-sibling-1-ref.html
70 == block-sibling-1b.html block-sibling-1-ref2.html
71 != block-sibling-1b.html block-sibling-1-noref.html
72 == block-sibling-1c.html block-sibling-1-ref.html
73 == block-sibling-1c.html block-sibling-1-ref2.html
74 != block-sibling-1c.html block-sibling-1-noref2.html
75 == block-sibling-2.html block-sibling-2-ref.html
76 == block-sibling-2.html block-sibling-2-ref2.html
77 != block-sibling-2.html block-sibling-2-noref.html
78 == block-sibling-3.html block-sibling-1-ref.html
79 == block-sibling-3.html block-sibling-1-ref2.html
80 != block-sibling-3.html block-sibling-1-noref.html
81 == block-sibling-1a-dyn.html block-sibling-1-ref.html
82 == block-sibling-1a-dyn.html block-sibling-1-ref2.html
83 != block-sibling-1a-dyn.html block-sibling-1-noref.html
84 == block-sibling-1b-dyn.html block-sibling-1-ref.html
85 == block-sibling-1b-dyn.html block-sibling-1-ref2.html
86 != block-sibling-1b-dyn.html block-sibling-1-noref.html
87 == block-sibling-1c-dyn.html block-sibling-1-ref.html
88 == block-sibling-1c-dyn.html block-sibling-1-ref2.html
89 != block-sibling-1c-dyn.html block-sibling-1-noref2.html
90 == block-sibling-2-dyn.html block-sibling-2-ref.html
91 == block-sibling-2-dyn.html block-sibling-2-ref2.html
92 != block-sibling-2-dyn.html block-sibling-2-noref.html
93 == block-sibling-3-dyn.html block-sibling-1-ref.html
94 == block-sibling-3-dyn.html block-sibling-1-ref2.html
95 != block-sibling-3-dyn.html block-sibling-1-noref.html
96 # "In the case of negative margins, the maximum of the absolute values of the
97 #  negative adjoining margins is deducted from the maximum of the positive
98 #  adjoining margins. If there are no positive margins, the maximum of the
99 #  absolute values of the adjoining margins is deducted from zero."
100 # These tests feature sibling block boxes where one or two margins are negative.
101 # The norefs depict possible incorrect addition or subtraction of margins.
102 == block-negative-1a.html block-negative-1-ref.html
103 != block-negative-1a.html block-negative-1-noref1.html
104 != block-negative-1a.html block-negative-1-noref2.html
105 == block-negative-1b.html block-negative-1-ref.html
106 != block-negative-1b.html block-negative-1-noref1.html
107 != block-negative-1b.html block-negative-1-noref2.html
108 == block-negative-2a.html block-negative-2-ref.html
109 != block-negative-2a.html block-negative-2-noref1.html
110 != block-negative-2a.html block-negative-2-noref2.html
111 == block-negative-2b.html block-negative-2-ref.html
112 != block-negative-2b.html block-negative-2-noref1.html
113 != block-negative-2b.html block-negative-2-noref2.html
114 == block-negative-3a.html block-negative-3-ref.html
115 == block-negative-3a.html block-negative-3-ref2.html
116 != block-negative-3a.html block-negative-3-noref1.html
117 != block-negative-3a.html block-negative-3-noref2.html
118 == block-negative-3b.html block-negative-3-ref.html
119 == block-negative-3b.html block-negative-3-ref2.html
120 != block-negative-3b.html block-negative-3-noref1.html
121 != block-negative-3b.html block-negative-3-noref2.html
122 == block-negative-4a.html block-negative-4-ref.html
123 == block-negative-4a.html block-negative-4-ref2.html
124 != block-negative-4a.html block-negative-4-noref1.html
125 != block-negative-4a.html block-negative-4-noref2.html
126 == block-negative-4b.html block-negative-4-ref.html
127 == block-negative-4b.html block-negative-4-ref2.html
128 != block-negative-4b.html block-negative-4-noref1.html
129 != block-negative-4b.html block-negative-4-noref2.html
130 == block-negative-5.html block-negative-5-ref.html
131 == block-negative-5.html block-negative-5-ref2.html
132 != block-negative-5.html block-negative-5-noref1.html
133 != block-negative-5.html block-negative-5-noref2.html
134 == block-negative-1a-dyn1.html block-negative-1-ref.html
135 != block-negative-1a-dyn1.html block-negative-1-noref1.html
136 != block-negative-1a-dyn1.html block-negative-1-noref2.html
137 == block-negative-1a-dyn2.html block-negative-1-ref.html
138 != block-negative-1a-dyn2.html block-negative-1-noref1.html
139 != block-negative-1a-dyn2.html block-negative-1-noref2.html
140 == block-negative-1b-dyn1.html block-negative-1-ref.html
141 != block-negative-1b-dyn1.html block-negative-1-noref1.html
142 != block-negative-1b-dyn1.html block-negative-1-noref2.html
143 == block-negative-1b-dyn2.html block-negative-1-ref.html
144 != block-negative-1b-dyn2.html block-negative-1-noref1.html
145 != block-negative-1b-dyn2.html block-negative-1-noref2.html
146 == block-negative-2a-dyn1.html block-negative-2-ref.html
147 != block-negative-2a-dyn1.html block-negative-2-noref1.html
148 != block-negative-2a-dyn1.html block-negative-2-noref2.html
149 == block-negative-2a-dyn2.html block-negative-2-ref.html
150 != block-negative-2a-dyn2.html block-negative-2-noref1.html
151 != block-negative-2a-dyn2.html block-negative-2-noref2.html
152 == block-negative-2b-dyn1.html block-negative-2-ref.html
153 != block-negative-2b-dyn1.html block-negative-2-noref1.html
154 != block-negative-2b-dyn1.html block-negative-2-noref2.html
155 == block-negative-2b-dyn2.html block-negative-2-ref.html
156 != block-negative-2b-dyn2.html block-negative-2-noref1.html
157 != block-negative-2b-dyn2.html block-negative-2-noref2.html
158 == block-negative-3a-dyn1.html block-negative-3-ref.html
159 == block-negative-3a-dyn1.html block-negative-3-ref2.html
160 != block-negative-3a-dyn1.html block-negative-3-noref1.html
161 != block-negative-3a-dyn1.html block-negative-3-noref2.html
162 == block-negative-3a-dyn2.html block-negative-3-ref.html
163 == block-negative-3a-dyn2.html block-negative-3-ref2.html
164 != block-negative-3a-dyn2.html block-negative-3-noref1.html
165 != block-negative-3a-dyn2.html block-negative-3-noref2.html
166 == block-negative-3b-dyn1.html block-negative-3-ref.html
167 == block-negative-3b-dyn1.html block-negative-3-ref2.html
168 != block-negative-3b-dyn1.html block-negative-3-noref1.html
169 != block-negative-3b-dyn1.html block-negative-3-noref2.html
170 == block-negative-3b-dyn2.html block-negative-3-ref.html
171 == block-negative-3b-dyn2.html block-negative-3-ref2.html
172 != block-negative-3b-dyn2.html block-negative-3-noref1.html
173 != block-negative-3b-dyn2.html block-negative-3-noref2.html
174 == block-negative-4a-dyn1.html block-negative-4-ref.html
175 == block-negative-4a-dyn1.html block-negative-4-ref2.html
176 != block-negative-4a-dyn1.html block-negative-4-noref1.html
177 != block-negative-4a-dyn1.html block-negative-4-noref2.html
178 == block-negative-4a-dyn2.html block-negative-4-ref.html
179 == block-negative-4a-dyn2.html block-negative-4-ref2.html
180 != block-negative-4a-dyn2.html block-negative-4-noref1.html
181 != block-negative-4a-dyn2.html block-negative-4-noref2.html
182 == block-negative-4b-dyn1.html block-negative-4-ref.html
183 == block-negative-4b-dyn1.html block-negative-4-ref2.html
184 != block-negative-4b-dyn1.html block-negative-4-noref1.html
185 != block-negative-4b-dyn1.html block-negative-4-noref2.html
186 == block-negative-4b-dyn2.html block-negative-4-ref.html
187 == block-negative-4b-dyn2.html block-negative-4-ref2.html
188 != block-negative-4b-dyn2.html block-negative-4-noref1.html
189 != block-negative-4b-dyn2.html block-negative-4-noref2.html
190 == block-negative-5-dyn1.html block-negative-5-ref.html
191 == block-negative-5-dyn1.html block-negative-5-ref2.html
192 != block-negative-5-dyn1.html block-negative-5-noref1.html
193 != block-negative-5-dyn1.html block-negative-5-noref2.html
194 == block-negative-5-dyn2.html block-negative-5-ref.html
195 == block-negative-5-dyn2.html block-negative-5-ref2.html
196 != block-negative-5-dyn2.html block-negative-5-noref1.html
197 != block-negative-5-dyn2.html block-negative-5-noref2.html
198 # "Two margins are adjoining if and only if:" [...]
199 # "both belong to vertically-adjacent box edges,
200 #  i.e. form one of the following pairs:" [...]
201 # "top margin of a box and top margin of its first in-flow child"
202 # "bottom margin of a last in-flow child and bottom margin of its parent
203 #  if the parent has 'auto' computed height"
204 # "A collapsed margin is considered adjoining to another margin if
205 #  any of its component margins is adjoining to that margin."
206 # "Note. Adjoining margins can be generated by elements that are
207 #  not related as siblings or ancestors."
208 # These tests check whether margins are correctly collapsed even when the
209 # boxes participating are not related as siblings or ancestors.
210 # The tests feature different sizes of margins on different boxes.
211 == block-non-sibling-1a.html block-non-sibling-1-ref.html
212 == block-non-sibling-1a.html block-non-sibling-1-ref2.html
213 == block-non-sibling-1b.html block-non-sibling-1-ref.html
214 == block-non-sibling-1b.html block-non-sibling-1-ref2.html
215 == block-non-sibling-1c.html block-non-sibling-1-ref.html
216 == block-non-sibling-1c.html block-non-sibling-1-ref2.html
217 == block-non-sibling-1d.html block-non-sibling-1-ref.html
218 == block-non-sibling-1d.html block-non-sibling-1-ref2.html
219 == block-non-sibling-1e.html block-non-sibling-1-ref.html
220 == block-non-sibling-1e.html block-non-sibling-1-ref2.html
221 == block-non-sibling-1f.html block-non-sibling-1-ref.html
222 == block-non-sibling-1f.html block-non-sibling-1-ref2.html
223 == block-non-sibling-2a.html block-non-sibling-2-ref.html
224 == block-non-sibling-2a.html block-non-sibling-2-ref2.html
225 == block-non-sibling-2b.html block-non-sibling-2-ref.html
226 == block-non-sibling-2b.html block-non-sibling-2-ref2.html
227 == block-non-sibling-2c.html block-non-sibling-2-ref.html
228 == block-non-sibling-2c.html block-non-sibling-2-ref2.html
229 == block-non-sibling-2d.html block-non-sibling-2-ref.html
230 == block-non-sibling-2d.html block-non-sibling-2-ref2.html
231 == block-non-sibling-2e.html block-non-sibling-2-ref.html
232 == block-non-sibling-2e.html block-non-sibling-2-ref2.html
233 == block-non-sibling-2f.html block-non-sibling-2-ref.html
234 == block-non-sibling-2f.html block-non-sibling-2-ref2.html
235 == block-non-sibling-3a.html block-non-sibling-3-ref.html
236 == block-non-sibling-3a.html block-non-sibling-3-ref2.html
237 == block-non-sibling-3b.html block-non-sibling-3-ref.html
238 == block-non-sibling-3b.html block-non-sibling-3-ref2.html
239 == block-non-sibling-3c.html block-non-sibling-3-ref.html
240 == block-non-sibling-3c.html block-non-sibling-3-ref2.html
241 == block-non-sibling-3d.html block-non-sibling-3-ref.html
242 == block-non-sibling-3d.html block-non-sibling-3-ref2.html
243 == block-non-sibling-4.html block-non-sibling-4-ref.html
244 == block-non-sibling-4.html block-non-sibling-4-ref2.html
245 == block-non-sibling-1a-dyn.html block-non-sibling-1-ref2.html
246 == block-non-sibling-1b-dyn.html block-non-sibling-1-ref2.html
247 == block-non-sibling-1c-dyn.html block-non-sibling-1-ref2.html
248 == block-non-sibling-1d-dyn.html block-non-sibling-1-ref2.html
249 == block-non-sibling-1e-dyn.html block-non-sibling-1-ref2.html
250 == block-non-sibling-1f-dyn.html block-non-sibling-1-ref2.html
251 == block-non-sibling-2a-dyn.html block-non-sibling-2-ref2.html
252 == block-non-sibling-2b-dyn.html block-non-sibling-2-ref2.html
253 == block-non-sibling-2c-dyn.html block-non-sibling-2-ref2.html
254 == block-non-sibling-2d-dyn.html block-non-sibling-2-ref2.html
255 == block-non-sibling-2e-dyn.html block-non-sibling-2-ref2.html
256 == block-non-sibling-2f-dyn.html block-non-sibling-2-ref2.html
257 == block-non-sibling-3a-dyn.html block-non-sibling-3-ref2.html
258 == block-non-sibling-3b-dyn.html block-non-sibling-3-ref2.html
259 == block-non-sibling-3c-dyn.html block-non-sibling-3-ref2.html
260 == block-non-sibling-3d-dyn.html block-non-sibling-3-ref2.html
261 == block-non-sibling-4-dyn.html block-non-sibling-4-ref2.html
262 # The first-child series tests cases where the top margin of a box collapses
263 # with the top margin of its parent element.
264 # This series is more extensive than the non-sibling series, because
265 # various combinations of positive and negative margins are tested.
266 == block-first-child-1a.html block-first-child-1-ref.html
267 == block-first-child-1b.html block-first-child-1-ref.html
268 == block-first-child-1c.html block-first-child-1-ref.html
269 == block-first-child-2.html block-first-child-2-ref.html
270 == block-first-child-3.html block-first-child-3-ref.html
271 == block-first-child-4.html block-first-child-4-ref.html
272 == block-first-child-5.html block-first-child-5-ref.html
273 == block-first-child-6.html block-first-child-6-ref.html
274 == block-first-child-7.html block-first-child-7-ref.html
275 == block-first-child-8a.html block-first-child-8-ref.html
276 == block-first-child-8b.html block-first-child-8-ref.html
277 == block-first-child-8c.html block-first-child-8-ref.html
278 == block-first-child-1a-dyn.html block-first-child-1-ref.html
279 == block-first-child-1b-dyn.html block-first-child-1-ref.html
280 == block-first-child-1c-dyn.html block-first-child-1-ref.html
281 == block-first-child-2-dyn.html block-first-child-2-ref.html
282 == block-first-child-3-dyn.html block-first-child-3-ref.html
283 == block-first-child-4-dyn.html block-first-child-4-ref.html
284 == block-first-child-5-dyn.html block-first-child-5-ref.html
285 == block-first-child-6-dyn.html block-first-child-6-ref.html
286 == block-first-child-7-dyn.html block-first-child-7-ref.html
287 == block-first-child-8a-dyn.html block-first-child-8-ref.html
288 == block-first-child-8b-dyn.html block-first-child-8-ref.html
289 == block-first-child-8c-dyn.html block-first-child-8-ref.html
290 # "The bottom margin of an in-flow block box with a 'height' of 'auto'
291 #  collapses with its last in-flow block-level child's bottom margin"
292 # Note: The block-auto-height-last-child series automatically covers
293 # all cases where 'min-height' is '0' and 'max-height' is 'none' as
294 # these are the default values of those properties.
295 == block-auto-height-last-child-1a.html block-auto-height-last-child-1-ref.html
296 == block-auto-height-last-child-1b.html block-auto-height-last-child-1-ref.html
297 == block-auto-height-last-child-1c.html block-auto-height-last-child-1-ref.html
298 == block-auto-height-last-child-2.html block-auto-height-last-child-2-ref.html
299 == block-auto-height-last-child-3.html block-auto-height-last-child-3-ref.html
300 == block-auto-height-last-child-4.html block-auto-height-last-child-4-ref.html
301 == block-auto-height-last-child-5.html block-auto-height-last-child-5-ref.html
302 == block-auto-height-last-child-6.html block-auto-height-last-child-6-ref.html
303 == block-auto-height-last-child-7.html block-auto-height-last-child-7-ref.html
304 == block-auto-height-last-child-8a.html block-auto-height-last-child-8-ref.html
305 == block-auto-height-last-child-8b.html block-auto-height-last-child-8-ref.html
306 == block-auto-height-last-child-8c.html block-auto-height-last-child-8-ref.html
307 == block-auto-height-last-child-1a-dyn.html block-auto-height-last-child-1-ref.html
308 == block-auto-height-last-child-1b-dyn.html block-auto-height-last-child-1-ref.html
309 == block-auto-height-last-child-1c-dyn.html block-auto-height-last-child-1-ref.html
310 == block-auto-height-last-child-2-dyn.html block-auto-height-last-child-2-ref.html
311 == block-auto-height-last-child-3-dyn.html block-auto-height-last-child-3-ref.html
312 == block-auto-height-last-child-4-dyn.html block-auto-height-last-child-4-ref.html
313 == block-auto-height-last-child-5-dyn.html block-auto-height-last-child-5-ref.html
314 == block-auto-height-last-child-6-dyn.html block-auto-height-last-child-6-ref.html
315 == block-auto-height-last-child-7-dyn.html block-auto-height-last-child-7-ref.html
316 == block-auto-height-last-child-8a-dyn.html block-auto-height-last-child-8-ref.html
317 == block-auto-height-last-child-8b-dyn.html block-auto-height-last-child-8-ref.html
318 == block-auto-height-last-child-8c-dyn.html block-auto-height-last-child-8-ref.html
319 # The last-child series is an older variant of the
320 # block-auto-height-last-child tests.
321 == block-last-child-1a.html block-last-child-1-ref.html
322 == block-last-child-1b.html block-last-child-1-ref.html
323 == block-last-child-1c.html block-last-child-1-ref.html
324 == block-last-child-2a.html block-last-child-2-ref.html
325 == block-last-child-2b.html block-last-child-2-ref.html
326 == block-last-child-2c.html block-last-child-2-ref.html
327 == block-last-child-2d.html block-last-child-2-ref.html
328 == block-last-child-3a.html block-last-child-3-ref.html
329 == block-last-child-3b.html block-last-child-3-ref.html
330 == block-last-child-3c.html block-last-child-3-ref.html
331 == block-last-child-3d.html block-last-child-3-ref.html
332 == block-last-child-4a.html block-last-child-4-ref.html
333 == block-last-child-4b.html block-last-child-4-ref.html
334 == block-last-child-4c.html block-last-child-4-ref.html
335 == block-last-child-4d.html block-last-child-4-ref.html
336 # There's also the older block-zero-min-height series which explicitly
337 # adds min-height: 0; to boxes with height: auto;
338 # This should have no effect on margin-collapsing.
339 == block-zero-min-height-1a.html block-zero-min-height-1-ref.html
340 == block-zero-min-height-1b.html block-zero-min-height-1-ref.html
341 == block-zero-min-height-1c.html block-zero-min-height-1-ref.html
342 == block-zero-min-height-1d.html block-zero-min-height-1-ref.html
343 == block-zero-min-height-1e.html block-zero-min-height-1-ref.html
344 == block-zero-min-height-1f.html block-zero-min-height-1-ref.html
345 != block-zero-min-height-1a.html block-zero-min-height-1-noref.html
346 != block-zero-min-height-1b.html block-zero-min-height-1-noref.html
347 != block-zero-min-height-1c.html block-zero-min-height-1-noref.html
348 != block-zero-min-height-1d.html block-zero-min-height-1-noref.html
349 != block-zero-min-height-1e.html block-zero-min-height-1-noref.html
350 != block-zero-min-height-1f.html block-zero-min-height-1-noref.html
351 == block-zero-min-height-2a.html block-zero-min-height-2ab-ref.html
352 == block-zero-min-height-2b.html block-zero-min-height-2ab-ref.html
353 == block-zero-min-height-2c.html block-zero-min-height-2c-ref.html
354 == block-zero-min-height-2d.html block-zero-min-height-2de-ref.html
355 == block-zero-min-height-2e.html block-zero-min-height-2de-ref.html
356 == block-zero-min-height-2f.html block-zero-min-height-2f-ref.html
357 != block-zero-min-height-2a.html block-zero-min-height-2-noref.html
358 != block-zero-min-height-2b.html block-zero-min-height-2-noref.html
359 != block-zero-min-height-2c.html block-zero-min-height-2-noref.html
360 != block-zero-min-height-2d.html block-zero-min-height-2-noref.html
361 != block-zero-min-height-2e.html block-zero-min-height-2-noref.html
362 != block-zero-min-height-2f.html block-zero-min-height-2-noref.html
363 == block-zero-min-height-3a.html block-zero-min-height-3-ref.html
364 == block-zero-min-height-3b.html block-zero-min-height-3-ref.html
365 == block-zero-min-height-3c.html block-zero-min-height-3-ref.html
366 == block-zero-min-height-3d.html block-zero-min-height-3-ref.html
367 # If a parent box's height is 'auto' and its 'min-height' is non-zero,
368 # then its bottom margin collapses with its last-child's bottom margin.
369 # This is true even if the two margins do not actually touch each other,
370 # as they are still considered 'adjoining'.
371 fails == block-min-height-last-child-1a.html block-min-height-last-child-1-ref.html # Bug 616339
372 == block-min-height-last-child-1b.html block-min-height-last-child-1-ref.html
373 == block-min-height-last-child-1c.html block-min-height-last-child-1-ref.html
374 fails == block-min-height-last-child-2a.html block-min-height-last-child-2-ref.html # Bug 616339
375 fails == block-min-height-last-child-2b.html block-min-height-last-child-2-ref.html # Bug 616339
376 fails == block-min-height-last-child-3a.html block-min-height-last-child-3-ref.html # Bug 616339
377 == block-min-height-last-child-3b.html block-min-height-last-child-3-ref.html
378 == block-min-height-last-child-3c.html block-min-height-last-child-3-ref.html
379 == block-min-height-last-child-4a.html block-min-height-last-child-4-ref.html
380 == block-min-height-last-child-4b.html block-min-height-last-child-4-ref.html
381 == block-min-height-last-child-4c.html block-min-height-last-child-4-ref.html
382 == block-min-height-last-child-5a.html block-min-height-last-child-5-ref.html
383 == block-min-height-last-child-5b.html block-min-height-last-child-5-ref.html
384 == block-min-height-last-child-6a.html block-min-height-last-child-6-ref.html
385 == block-min-height-last-child-6b.html block-min-height-last-child-6-ref.html
386 == block-min-height-last-child-6c.html block-min-height-last-child-6-ref.html
387 == block-min-height-last-child-7a.html block-min-height-last-child-7-ref.html
388 == block-min-height-last-child-7b.html block-min-height-last-child-7-ref.html
389 == block-min-height-last-child-7c.html block-min-height-last-child-7-ref.html
390 == block-min-height-last-child-8a.html block-min-height-last-child-8-ref.html
391 == block-min-height-last-child-8b.html block-min-height-last-child-8-ref.html
392 == block-min-height-last-child-9a.html block-min-height-last-child-9-ref.html
393 == block-min-height-last-child-9b.html block-min-height-last-child-9-ref.html
394 == block-min-height-last-child-9c.html block-min-height-last-child-9-ref.html
395 fails == block-min-height-last-child-1a-dyn.html block-min-height-last-child-1-ref.html # Bug 616339
396 == block-min-height-last-child-1b-dyn.html block-min-height-last-child-1-ref.html
397 == block-min-height-last-child-1c-dyn.html block-min-height-last-child-1-ref.html
398 fails == block-min-height-last-child-2a-dyn.html block-min-height-last-child-2-ref.html # Bug 616339
399 fails == block-min-height-last-child-2b-dyn.html block-min-height-last-child-2-ref.html # Bug 616339
400 fails == block-min-height-last-child-3a-dyn.html block-min-height-last-child-3-ref.html # Bug 616339
401 == block-min-height-last-child-3b-dyn.html block-min-height-last-child-3-ref.html
402 == block-min-height-last-child-3c-dyn.html block-min-height-last-child-3-ref.html
403 == block-min-height-last-child-4a-dyn.html block-min-height-last-child-4-ref.html
404 == block-min-height-last-child-4b-dyn.html block-min-height-last-child-4-ref.html
405 == block-min-height-last-child-4c-dyn.html block-min-height-last-child-4-ref.html
406 == block-min-height-last-child-5a-dyn.html block-min-height-last-child-5-ref.html
407 == block-min-height-last-child-5b-dyn.html block-min-height-last-child-5-ref.html
408 == block-min-height-last-child-6a-dyn.html block-min-height-last-child-6-ref.html
409 == block-min-height-last-child-6b-dyn.html block-min-height-last-child-6-ref.html
410 == block-min-height-last-child-6c-dyn.html block-min-height-last-child-6-ref.html
411 == block-min-height-last-child-7a-dyn.html block-min-height-last-child-7-ref.html
412 == block-min-height-last-child-7b-dyn.html block-min-height-last-child-7-ref.html
413 == block-min-height-last-child-7c-dyn.html block-min-height-last-child-7-ref.html
414 == block-min-height-last-child-8a-dyn.html block-min-height-last-child-8-ref.html
415 == block-min-height-last-child-8b-dyn.html block-min-height-last-child-8-ref.html
416 == block-min-height-last-child-9a-dyn.html block-min-height-last-child-9-ref.html
417 == block-min-height-last-child-9b-dyn.html block-min-height-last-child-9-ref.html
418 == block-min-height-last-child-9c-dyn.html block-min-height-last-child-9-ref.html
419 # If a parent box's height is 'auto' and its 'max-height' is not 'none'
420 # then its bottom margin collapses with its last-child's bottom margin.
421 # According to CSS 2.1 §10.7 (Minimum and maximum heights) this is true,
422 # even if the descendant's height is bigger than the defined max-height.
423 == block-max-height-last-child-1a.html block-max-height-last-child-1-ref.html
424 == block-max-height-last-child-1b.html block-max-height-last-child-1-ref.html
425 == block-max-height-last-child-1c.html block-max-height-last-child-1-ref.html
426 == block-max-height-last-child-2a.html block-max-height-last-child-2-ref.html
427 == block-max-height-last-child-2b.html block-max-height-last-child-2-ref.html
428 == block-max-height-last-child-3a.html block-max-height-last-child-3-ref.html
429 == block-max-height-last-child-3b.html block-max-height-last-child-3-ref.html
430 == block-max-height-last-child-3c.html block-max-height-last-child-3-ref.html
431 == block-max-height-last-child-4a.html block-max-height-last-child-4-ref.html
432 == block-max-height-last-child-4b.html block-max-height-last-child-4-ref.html
433 == block-max-height-last-child-4c.html block-max-height-last-child-4-ref.html
434 == block-max-height-last-child-5a.html block-max-height-last-child-5-ref.html
435 == block-max-height-last-child-5b.html block-max-height-last-child-5-ref.html
436 == block-max-height-last-child-6a.html block-max-height-last-child-6-ref.html
437 == block-max-height-last-child-6b.html block-max-height-last-child-6-ref.html
438 == block-max-height-last-child-6c.html block-max-height-last-child-6-ref.html
439 fails == block-max-height-last-child-7a.html block-max-height-last-child-7-ref.html # Bug 616339
440 == block-max-height-last-child-7b.html block-max-height-last-child-7-ref.html
441 == block-max-height-last-child-7c.html block-max-height-last-child-7-ref.html
442 fails == block-max-height-last-child-8a.html block-max-height-last-child-8-ref.html # Bug 616339
443 fails == block-max-height-last-child-8b.html block-max-height-last-child-8-ref.html # Bug 616339
444 fails == block-max-height-last-child-9a.html block-max-height-last-child-9-ref.html # Bug 616339
445 == block-max-height-last-child-9b.html block-max-height-last-child-9-ref.html
446 == block-max-height-last-child-9c.html block-max-height-last-child-9-ref.html
447 == block-max-height-last-child-1a-dyn.html block-max-height-last-child-1-ref.html
448 == block-max-height-last-child-1b-dyn.html block-max-height-last-child-1-ref.html
449 == block-max-height-last-child-1c-dyn.html block-max-height-last-child-1-ref.html
450 == block-max-height-last-child-2a-dyn.html block-max-height-last-child-2-ref.html
451 == block-max-height-last-child-2b-dyn.html block-max-height-last-child-2-ref.html
452 == block-max-height-last-child-3a-dyn.html block-max-height-last-child-3-ref.html
453 == block-max-height-last-child-3b-dyn.html block-max-height-last-child-3-ref.html
454 == block-max-height-last-child-3c-dyn.html block-max-height-last-child-3-ref.html
455 == block-max-height-last-child-4a-dyn.html block-max-height-last-child-4-ref.html
456 == block-max-height-last-child-4b-dyn.html block-max-height-last-child-4-ref.html
457 == block-max-height-last-child-4c-dyn.html block-max-height-last-child-4-ref.html
458 == block-max-height-last-child-5a-dyn.html block-max-height-last-child-5-ref.html
459 == block-max-height-last-child-5b-dyn.html block-max-height-last-child-5-ref.html
460 == block-max-height-last-child-6a-dyn.html block-max-height-last-child-6-ref.html
461 == block-max-height-last-child-6b-dyn.html block-max-height-last-child-6-ref.html
462 == block-max-height-last-child-6c-dyn.html block-max-height-last-child-6-ref.html
463 fails == block-max-height-last-child-7a-dyn.html block-max-height-last-child-7-ref.html # Bug 616339
464 == block-max-height-last-child-7b-dyn.html block-max-height-last-child-7-ref.html
465 == block-max-height-last-child-7c-dyn.html block-max-height-last-child-7-ref.html
466 fails == block-max-height-last-child-8a-dyn.html block-max-height-last-child-8-ref.html # Bug 616339
467 fails == block-max-height-last-child-8b-dyn.html block-max-height-last-child-8-ref.html # Bug 616339
468 fails == block-max-height-last-child-9a-dyn.html block-max-height-last-child-9-ref.html # Bug 616339
469 == block-max-height-last-child-9b-dyn.html block-max-height-last-child-9-ref.html
470 == block-max-height-last-child-9c-dyn.html block-max-height-last-child-9-ref.html
471 # If a parent box's height is not 'auto' then its bottom margin
472 # never collapses with its last-child's bottom margin,
473 # as these margins are not considered 'adjoining'.
474 # According to CSS 2.1 §10.7 (Minimum and maximum heights) this is true,
475 # even if the value of min- or max-height is used instead.
476 == block-fix-height-last-child-1a.html block-fix-height-last-child-1-ref.html
477 == block-fix-height-last-child-1b.html block-fix-height-last-child-1-ref.html
478 == block-fix-height-last-child-2a.html block-fix-height-last-child-2-ref.html
479 == block-fix-height-last-child-2b.html block-fix-height-last-child-2-ref.html
480 == block-fix-height-last-child-3a.html block-fix-height-last-child-3-ref.html
481 == block-fix-height-last-child-3b.html block-fix-height-last-child-3-ref.html
482 == block-fix-height-last-child-4a.html block-fix-height-last-child-4-ref.html
483 == block-fix-height-last-child-4b.html block-fix-height-last-child-4-ref.html
484 == block-fix-height-last-child-4c.html block-fix-height-last-child-4-ref.html
485 == block-fix-height-last-child-4d.html block-fix-height-last-child-4-ref.html
486 == block-fix-height-last-child-4e.html block-fix-height-last-child-4-ref.html
487 == block-fix-height-last-child-4f.html block-fix-height-last-child-4-ref.html
488 == block-fix-height-last-child-4g.html block-fix-height-last-child-4-ref.html
489 == block-fix-height-last-child-4h.html block-fix-height-last-child-4-ref.html
490 == block-fix-height-last-child-1a-dyn.html block-fix-height-last-child-1-ref.html
491 == block-fix-height-last-child-1b-dyn.html block-fix-height-last-child-1-ref.html
492 == block-fix-height-last-child-2a-dyn.html block-fix-height-last-child-2-ref.html
493 == block-fix-height-last-child-2b-dyn.html block-fix-height-last-child-2-ref.html
494 == block-fix-height-last-child-3a-dyn.html block-fix-height-last-child-3-ref.html
495 == block-fix-height-last-child-3b-dyn.html block-fix-height-last-child-3-ref.html
496 == block-fix-height-last-child-4a-dyn.html block-fix-height-last-child-4-ref.html
497 == block-fix-height-last-child-4b-dyn.html block-fix-height-last-child-4-ref.html
498 == block-fix-height-last-child-4c-dyn.html block-fix-height-last-child-4-ref.html
499 == block-fix-height-last-child-4d-dyn.html block-fix-height-last-child-4-ref.html
500 == block-fix-height-last-child-4e-dyn.html block-fix-height-last-child-4-ref.html
501 == block-fix-height-last-child-4f-dyn.html block-fix-height-last-child-4-ref.html
502 == block-fix-height-last-child-4g-dyn.html block-fix-height-last-child-4-ref.html
503 == block-fix-height-last-child-4h-dyn.html block-fix-height-last-child-4-ref.html
504 # "Two margins are adjoining if and only if:" [...]
505 # "both belong to vertically-adjacent box edges,
506 #  i.e. form one of the following pairs:" [...]
507 # "top and bottom margins of a box that does not establish a new block
508 #  formatting context and that has zero computed 'min-height', zero or
509 #  'auto' computed 'height', and no in-flow children"
510 # Note that "if the top and bottom margins of a box are adjoining, then it is
511 # possible for margins to collapse through it."
512 # I.e. a parent's top and bottom margin are still considered adjoining if
513 # they collapse through their in-flow children's margins.
514 == block-no-content-1a.html block-no-content-1-ref.html
515 == block-no-content-1b.html block-no-content-1-ref.html
516 == block-no-content-1c.html block-no-content-1-ref.html
517 == block-no-content-1d.html block-no-content-1-ref.html
518 == block-no-content-2a.html block-no-content-2-ref.html
519 == block-no-content-2b.html block-no-content-2-ref.html
520 == block-no-content-2c.html block-no-content-2-ref.html
521 == block-no-content-2d.html block-no-content-2-ref.html
522 == block-no-content-2e.html block-no-content-2-ref.html
523 == block-no-content-3a.html block-no-content-3-ref.html
524 == block-no-content-3b.html block-no-content-3-ref.html
525 == block-no-content-3c.html block-no-content-3-ref.html
526 == block-no-content-4a.html block-no-content-4-ref.html
527 == block-no-content-4b.html block-no-content-4-ref.html
528 == block-no-content-4c.html block-no-content-4-ref.html
529 == block-no-content-5a.html block-no-content-5-ref.html
530 == block-no-content-5b.html block-no-content-5-ref.html
531 == block-no-content-6.html block-no-content-6-ref.html
532 == block-no-content-7.html block-no-content-7-ref.html
533 # "If the top margin of a box with non-zero computed 'min-height' and 'auto'
534 #  computed 'height' collapses with the bottom margin of its last in-flow
535 #  child, then the child's bottom margin does not collapse with the parent's
536 #  bottom margin."
537 == block-no-content-8.html block-no-content-8-ref.html
538 == block-no-content-1a-dyn.html block-no-content-1-ref.html
539 == block-no-content-1b-dyn.html block-no-content-1-ref.html
540 == block-no-content-1c-dyn.html block-no-content-1-ref.html
541 == block-no-content-1d-dyn.html block-no-content-1-ref.html
542 == block-no-content-2a-dyn.html block-no-content-2-ref.html
543 == block-no-content-2b-dyn.html block-no-content-2-ref.html
544 == block-no-content-2c-dyn.html block-no-content-2-ref.html
545 == block-no-content-2d-dyn.html block-no-content-2-ref.html
546 == block-no-content-2e-dyn.html block-no-content-2-ref.html
547 == block-no-content-3a-dyn.html block-no-content-3-ref.html
548 == block-no-content-3b-dyn.html block-no-content-3-ref.html
549 == block-no-content-3c-dyn.html block-no-content-3-ref.html
550 == block-no-content-4a-dyn.html block-no-content-4-ref.html
551 == block-no-content-4b-dyn.html block-no-content-4-ref.html
552 == block-no-content-4c-dyn.html block-no-content-4-ref.html
553 == block-no-content-5a-dyn.html block-no-content-5-ref.html
554 == block-no-content-5b-dyn.html block-no-content-5-ref.html
555 == block-no-content-6-dyn.html block-no-content-6-ref.html
556 == block-no-content-7-dyn.html block-no-content-7-ref.html
557 == block-no-content-8-dyn.html block-no-content-8-ref.html
558 # These tests are similar to the no-content ones, except that some boxes
559 # have height: 0; declared on them.
560 == block-zero-height-1a.html block-zero-height-1a-ref.html
561 == block-zero-height-1b.html block-zero-height-1b-ref.html
562 == block-zero-height-2a.html block-zero-height-2a-ref.html
563 == block-zero-height-2b.html block-zero-height-2b-ref.html
564 == block-zero-height-2c.html block-zero-height-2c-ref.html
565 == block-zero-height-3a.html block-zero-height-3-ref.html
566 == block-zero-height-3b.html block-zero-height-3-ref.html
567 == block-zero-height-3c.html block-zero-height-3-ref.html
568 # "Margins of elements that establish new block formatting contexts ([...])
569 #  do not collapse with their in-flow children."
570 # The margins of a block formatting context can collapse with margins of
571 # in-flow sibling boxes, but not with margins of their in-flow children.
572 # Elements that establish a block formatting context are:
573 # * "elements with 'overflow' other than 'visible'"
574 == block-overflow-1.html block-overflow-1-ref.html
575 == block-overflow-1.html block-overflow-1-ref2.html
576 == block-overflow-2.html block-overflow-2-ref.html
577 == block-overflow-2.html block-overflow-2-ref2.html
578 == block-overflow-3.html block-overflow-3-ref.html
579 == block-overflow-3.html block-overflow-3-ref2.html
580 == block-overflow-4.html block-overflow-4-ref.html
581 == block-overflow-4.html block-overflow-4-ref2.html
582 == block-overflow-5a.html block-overflow-5-ref.html
583 == block-overflow-5a.html block-overflow-5-ref2.html
584 == block-overflow-5b.html block-overflow-5-ref.html
585 == block-overflow-5b.html block-overflow-5-ref2.html
586 == block-overflow-5c.html block-overflow-5c-ref.html
587 == block-overflow-5c.html block-overflow-5c-ref2.html
588 == block-overflow-5d.html block-overflow-5-ref.html
589 == block-overflow-5d.html block-overflow-5-ref2.html
590 == block-overflow-1-dyn.html block-overflow-1-ref2.html
591 == block-overflow-2-dyn.html block-overflow-2-ref2.html
592 == block-overflow-3-dyn.html block-overflow-3-ref2.html
593 == block-overflow-4-dyn.html block-overflow-4-ref2.html
594 == block-overflow-5a-dyn.html block-overflow-5-ref2.html
595 == block-overflow-5b-dyn.html block-overflow-5-ref2.html
596 fuzzy-if(winWidget&&!nativeThemePref,0-4,0-36) == block-overflow-5c-dyn.html block-overflow-5c-ref2.html
597 == block-overflow-5d-dyn.html block-overflow-5-ref2.html
598 # * 'fieldset' elements, per HTML5 (Candidate Recommendation 6 August 2013):
599 # §10.3.13 (The fieldset and legend elements): "The fieldset element is
600 # expected to establish a new block formatting context."
601 == fieldset-sibling-1a.html fieldset-sibling-1-ref.html
602 == fieldset-sibling-1b.html fieldset-sibling-1-ref.html
603 == fieldset-sibling-1c.html fieldset-sibling-1-ref.html
604 == fieldset-sibling-2a.html fieldset-sibling-2-ref1.html
605 == fieldset-sibling-2b.html fieldset-sibling-2-ref1.html
606 == fieldset-sibling-2c.html fieldset-sibling-2-ref1.html
607 == fieldset-sibling-2a.html fieldset-sibling-2-ref2.html
608 == fieldset-sibling-2b.html fieldset-sibling-2-ref2.html
609 == fieldset-sibling-2c.html fieldset-sibling-2-ref2.html
610 == fieldset-sibling-1a-dyn.html fieldset-sibling-1-ref.html
611 == fieldset-sibling-1b-dyn.html fieldset-sibling-1-ref.html
612 == fieldset-sibling-1c-dyn.html fieldset-sibling-1-ref.html
613 == fieldset-sibling-2a-dyn.html fieldset-sibling-2-ref2.html
614 == fieldset-sibling-2b-dyn.html fieldset-sibling-2-ref2.html
615 == fieldset-sibling-2c-dyn.html fieldset-sibling-2-ref2.html
616 == fieldset-child-1.html fieldset-child-1-ref.html
617 == fieldset-child-1-dyn.html fieldset-child-1-ref.html
618 # * Tables, per CSS 2.1 §17.4 (Tables in the visual formatting model):
619 # "The table wrapper box establishes a block formatting context."
620 # "The table wrapper box is a 'block' box if the table is block-level [...]"
621 == table-sibling-1a.html table-sibling-1-ref.html
622 != table-sibling-1a.html table-sibling-1-noref.html
623 == table-sibling-1b.html table-sibling-1-ref.html
624 != table-sibling-1b.html table-sibling-1-noref.html
625 == table-sibling-1c.html table-sibling-1-ref.html
626 != table-sibling-1c.html table-sibling-1-noref2.html
627 == table-sibling-2a.html table-sibling-2-ref.html
628 != table-sibling-2a.html table-sibling-2-noref.html
629 == table-sibling-2b.html table-sibling-2-ref.html
630 != table-sibling-2b.html table-sibling-2-noref.html
631 == table-sibling-2c.html table-sibling-2-ref.html
632 != table-sibling-2c.html table-sibling-2-noref2.html
633 == table-sibling-1a-dyn.html table-sibling-1-ref.html
634 != table-sibling-1a-dyn.html table-sibling-1-noref.html
635 == table-sibling-1b-dyn.html table-sibling-1-ref.html
636 != table-sibling-1b-dyn.html table-sibling-1-noref.html
637 == table-sibling-1c-dyn.html table-sibling-1-ref.html
638 != table-sibling-1c-dyn.html table-sibling-1-noref2.html
639 == table-sibling-2a-dyn.html table-sibling-2-ref.html
640 != table-sibling-2a-dyn.html table-sibling-2-noref.html
641 == table-sibling-2b-dyn.html table-sibling-2-ref.html
642 != table-sibling-2b-dyn.html table-sibling-2-noref.html
643 == table-sibling-2c-dyn.html table-sibling-2-ref.html
644 != table-sibling-2c-dyn.html table-sibling-2-noref2.html
645 == table-sibling-3-dyn.html table-sibling-3-ref.html
646 != table-sibling-3-dyn.html table-sibling-3-noref.html
647 # * table-caption boxes, per CSS 2.1 §9.4.1 (Block formatting contexts):
648 # "[...] block containers (such as [...] table-captions) [...]
649 #  establish new block formatting contexts for their contents."
650 # The margins of a table-caption do not collapse with the margins
651 # of the table wrapper box. They can collapse with the margins of other
652 # table-captions, though, if they share the same caption-side.
653 == table-caption-1a.html table-caption-1-ref.html
654 == table-caption-1b.html table-caption-1-ref.html
655 == table-caption-1c.html table-caption-1-ref.html
656 == table-caption-2a.html table-caption-2-ref.html
657 == table-caption-2b.html table-caption-2-ref.html
658 == table-caption-2c.html table-caption-2-ref.html
659 == table-caption-1a-dyn.html table-caption-1-ref.html
660 == table-caption-1b-dyn.html table-caption-1-ref.html
661 == table-caption-1c-dyn.html table-caption-1-ref.html
662 == table-caption-2a-dyn.html table-caption-2-ref.html
663 == table-caption-2b-dyn.html table-caption-2-ref.html
664 == table-caption-2c-dyn.html table-caption-2-ref.html
665 # Note: CSS 2.1 suggests that the 'caption-side' values 'top-outside' and
666 # 'bottom-outside' will be used in a future CSS Module to restore the
667 # CSS 2 definition of 'top' and 'bottom' (which is different from CSS 2.1's).
668 # Since Bug #659828 was fixed, 'top-outside' and 'bottom-outside' act as an 
669 # alias for the CSS 2.1 values 'top' and 'bottom' respectively.
670 == table-caption-top-1.html table-caption-top-1-ref.html
671 == table-caption-top-2.html table-caption-top-2-ref.html
672 pref(layout.css.caption-side-non-standard.enabled,true) == table-caption-top-outside-1.html table-caption-top-1-ref.html
673 pref(layout.css.caption-side-non-standard.enabled,true) == table-caption-top-outside-2.html table-caption-top-1-ref.html
674 == table-caption-bottom-1.html table-caption-bottom-1-ref.html
675 == table-caption-bottom-2.html table-caption-bottom-2-ref.html
676 pref(layout.css.caption-side-non-standard.enabled,true) == table-caption-bottom-outside-1.html table-caption-bottom-1-ref.html
677 pref(layout.css.caption-side-non-standard.enabled,true) == table-caption-bottom-outside-2.html table-caption-bottom-1-ref.html
678 == table-caption-top-1-dyn.html table-caption-top-1-ref.html
679 == table-caption-top-2-dyn.html table-caption-top-1-ref.html
680 pref(layout.css.caption-side-non-standard.enabled,true) == table-caption-top-outside-1-dyn.html table-caption-top-1-ref.html
681 pref(layout.css.caption-side-non-standard.enabled,true) == table-caption-top-outside-2-dyn.html table-caption-top-2-ref.html
682 == table-caption-bottom-1-dyn.html table-caption-bottom-1-ref.html
683 == table-caption-bottom-2-dyn.html table-caption-bottom-1-ref.html
684 pref(layout.css.caption-side-non-standard.enabled,true) == table-caption-bottom-outside-1-dyn.html table-caption-bottom-1-ref.html
685 pref(layout.css.caption-side-non-standard.enabled,true) == table-caption-bottom-outside-2-dyn.html table-caption-bottom-1-ref.html
686 fails == caption-sibling-1a.html caption-sibling-1-ref.html # Bug 144517
687 != caption-sibling-1a.html caption-sibling-1-noref.html
688 fails == caption-sibling-1b.html caption-sibling-1-ref.html # Bug 144517
689 != caption-sibling-1b.html caption-sibling-1-noref.html
690 fails == caption-sibling-1c.html caption-sibling-1-ref.html # Bug 144517
691 != caption-sibling-1c.html caption-sibling-1-noref2.html
692 fails == caption-sibling-1a-dyn.html caption-sibling-1-ref.html # Bug 144517
693 != caption-sibling-1a-dyn.html caption-sibling-1-noref.html
694 fails == caption-sibling-1b-dyn.html caption-sibling-1-ref.html # Bug 144517
695 != caption-sibling-1b-dyn.html caption-sibling-1-noref.html
696 fails == caption-sibling-1c-dyn.html caption-sibling-1-ref.html # Bug 144517
697 != caption-sibling-1c-dyn.html caption-sibling-1-noref2.html
698 fails == caption-sibling-2-dyn.html caption-sibling-2-ref.html # Bug 144517
699 != caption-sibling-2-dyn.html caption-sibling-2-noref.html
700 == caption-child-1.html caption-child-1-ref.html
701 == caption-child-1-dyn.html caption-child-1-ref.html
702 # * Multi-column elements, per CSS Multi-column Layout Module
703 # (Candidate Recommendation 12 April 2011):
704 # "A multi-column element establishes a new block formatting context [...]"
705 == column-sibling-1a.html column-sibling-1-ref.html
706 == column-sibling-1b.html column-sibling-1-ref.html
707 == column-sibling-1c.html column-sibling-1-ref.html
708 == column-sibling-1a-dyn.html column-sibling-1-ref.html
709 == column-sibling-1b-dyn.html column-sibling-1-ref.html
710 == column-sibling-1c-dyn.html column-sibling-1-ref.html
711 == column-sibling-2a.html column-sibling-2-ref.html
712 == column-sibling-2b.html column-sibling-2-ref.html
713 == column-sibling-2c.html column-sibling-2-ref.html
714 == column-sibling-2a-dyn.html column-sibling-2-ref.html
715 == column-sibling-2b-dyn.html column-sibling-2-ref.html
716 == column-sibling-2c-dyn.html column-sibling-2-ref.html
717 == column-child-1.html column-child-1-ref.html
718 == column-child-1-dyn.html column-child-1-ref.html
719 # * inline-block boxes
720 # "Margins of inline-block boxes do not collapse
721 #  (not even with their in-flow children)."
722 == inline-block-sibling-1a.html inline-block-sibling-1-ref.html
723 == inline-block-sibling-1b.html inline-block-sibling-1-ref.html
724 == inline-block-sibling-1c.html inline-block-sibling-1-ref.html
725 == inline-block-sibling-2.html inline-block-sibling-2-ref.html
726 != inline-block-sibling-2.html inline-block-sibling-2-noref.html
727 == inline-block-sibling-1a-dyn.html inline-block-sibling-1-ref.html
728 == inline-block-sibling-1b-dyn.html inline-block-sibling-1-ref.html
729 == inline-block-sibling-1c-dyn.html inline-block-sibling-1-ref.html
730 == inline-block-sibling-2-dyn.html inline-block-sibling-2-ref.html
731 == inline-block-child-1.html inline-block-child-1-ref.html
732 == inline-block-child-2.html inline-block-child-2-ref.html
733 != inline-block-child-2.html inline-block-child-2-noref.html
734 == inline-block-child-3.html inline-block-child-3-ref.html
735 == inline-block-child-1-dyn.html inline-block-child-1-ref.html
736 == inline-block-child-2-dyn.html inline-block-child-2-ref.html
737 == inline-block-child-3-dyn.html inline-block-child-3-ref.html
738 # * absolutely positioned elements
739 # "Margins of absolutely positioned boxes do not collapse
740 #  (not even with their in-flow children)."
741 == block-abs-pos-1.html block-abs-pos-1-ref.html
742 == block-abs-pos-2.html block-abs-pos-2-ref.html
743 == block-abs-pos-2.html block-abs-pos-2-ref2.html
744 == block-abs-pos-1-dyn.html block-abs-pos-1-ref.html
745 == block-abs-pos-2-dyn.html block-abs-pos-2-ref2.html
746 # * Floats
747 # "Margins between a floated box and any other box do not collapse
748 #  (not even between a float and its in-flow children)."
749 == block-float-1a.html block-float-1a-ref.html
750 == block-float-1a.html block-float-1a-ref2.html
751 != block-float-1a.html block-float-1a-noref.html
752 == block-float-1b.html block-float-1b-ref.html
753 == block-float-1b.html block-float-1b-ref2.html
754 != block-float-1b.html block-float-1b-noref.html
755 == block-float-2a.html block-float-2a-ref.html
756 != block-float-2a.html block-float-2a-noref.html
757 == block-float-2b.html block-float-2b-ref.html
758 != block-float-2b.html block-float-2b-noref.html
759 == block-float-3a.html block-float-3a-ref.html
760 == block-float-3b.html block-float-3b-ref.html
761 == block-float-1a-dyn.html block-float-1a-ref.html
762 == block-float-1b-dyn.html block-float-1b-ref.html
763 == block-float-2a-dyn.html block-float-2a-ref.html
764 == block-float-2b-dyn.html block-float-2b-ref.html
765 == block-float-3a-dyn.html block-float-3a-ref.html
766 == block-float-3b-dyn.html block-float-3b-ref.html
767 # Tests for various cases where clearance is applied and collapsing is
768 # prevented or only allows for certain margins.
769 == block-clear-1a.html block-clear-1a-ref.html
770 == block-clear-1b.html block-clear-1b-ref.html
771 == block-clear-2.html block-clear-2-ref.html
772 != block-clear-2.html block-clear-2-noref.html
773 == block-clear-3a.html block-clear-3-ref-left.html
774 == block-clear-3b.html block-clear-3-ref-right.html
775 == block-clear-3c.html block-clear-3-ref-left.html
776 == block-clear-3d.html block-clear-3-ref-right.html
777 == block-clear-3e.html block-clear-3-ref-left.html
778 == block-clear-3f.html block-clear-3-ref-right.html
779 == block-clear-4a.html block-clear-4-ref-left.html
780 == block-clear-4b.html block-clear-4-ref-left.html
781 == block-clear-4c.html block-clear-4-ref-left.html
782 == block-clear-4d.html block-clear-4-ref-right.html
783 == block-clear-4e.html block-clear-4-ref-right.html
784 == block-clear-4f.html block-clear-4-ref-right.html
785 == block-clear-5a.html block-clear-5-left-ref.html
786 == block-clear-5b.html block-clear-5-left-ref.html
787 == block-clear-5c.html block-clear-5-left-ref.html
788 == block-clear-5d.html block-clear-5-left-ref.html
789 == block-clear-5e.html block-clear-5-right-ref.html
790 == block-clear-5f.html block-clear-5-right-ref.html
791 == block-clear-5g.html block-clear-5-right-ref.html
792 == block-clear-5h.html block-clear-5-right-ref.html
793 fails == block-clear-6a-left.html block-clear-6abc-left-ref.html # Bug 493380
794 == block-clear-6b-left.html block-clear-6abc-left-ref.html
795 == block-clear-6c-left.html block-clear-6abc-left-ref.html
796 fails == block-clear-6d-left.html block-clear-6def-left-ref1.html # Bug 493380
797 fails == block-clear-6d-left.html block-clear-6def-left-ref2.html # Bug 493380
798 == block-clear-6e-left.html block-clear-6def-left-ref1.html
799 == block-clear-6e-left.html block-clear-6def-left-ref2.html
800 == block-clear-6f-left.html block-clear-6def-left-ref1.html
801 == block-clear-6f-left.html block-clear-6def-left-ref2.html
802 fails == block-clear-7a-left.html block-clear-7abcd-left-ref.html # Bug 493380
803 fails == block-clear-7b-left.html block-clear-7abcd-left-ref.html # Bug 493380
804 fails == block-clear-7c-left.html block-clear-7abcd-left-ref.html # Bug 493380
805 == block-clear-7d-left.html block-clear-7abcd-left-ref.html
806 fails == block-clear-7e-left.html block-clear-7efgh-left-ref1.html # Bug 493380
807 fails == block-clear-7e-left.html block-clear-7efgh-left-ref2.html # Bug 493380
808 fails == block-clear-7f-left.html block-clear-7efgh-left-ref1.html # Bug 493380
809 fails == block-clear-7f-left.html block-clear-7efgh-left-ref2.html # Bug 493380
810 fails == block-clear-7g-left.html block-clear-7efgh-left-ref1.html # Bug 493380
811 fails == block-clear-7g-left.html block-clear-7efgh-left-ref2.html # Bug 493380
812 == block-clear-7h-left.html block-clear-7efgh-left-ref1.html
813 == block-clear-7h-left.html block-clear-7efgh-left-ref2.html
814 # "Margins of the root element's box do not collapse."
815 # Testing the root margins of a generic XML document.
816 == block-xml-root-1.xml block-xml-root-1-ref.xml
817 # In XML and XHTML, the html element is not necessarily the root element of
818 # a document. In that case, the margins of the html element collapse
819 # like the margins of any other block boxes.
820 == block-xhtml-root-1a.xhtml block-xhtml-root-1-ref.xhtml
821 == block-xhtml-root-1b.xhtml block-xhtml-root-1-ref.xhtml
822 == block-xhtml-root-2.xhtml block-xhtml-root-2-ref.xhtml
823 == block-xhtml-root-3.xhtml block-xhtml-root-3-ref.xhtml
824 # When the html element is the root element of the document, its margins
825 # do not collapse.
826 == block-xhtml-html-1a.xhtml block-xhtml-html-1-ref.xhtml
827 == block-xhtml-html-1b.xhtml block-xhtml-html-1-ref.xhtml
828 == block-xhtml-html-2.xhtml block-xhtml-html-2-ref.xhtml
829 == block-xhtml-html-3.xhtml block-xhtml-html-3-ref.xhtml
830 == block-xhtml-html-1a-dyn.xhtml block-xhtml-html-1-ref.xhtml
831 == block-xhtml-html-1b-dyn.xhtml block-xhtml-html-1-ref.xhtml
832 == block-xhtml-html-2-dyn.xhtml block-xhtml-html-2-ref.xhtml
833 == block-xhtml-html-3-dyn.xhtml block-xhtml-html-3-ref.xhtml
834 # In HTML documents only the html element can be the root element.
835 # Its margins do not collapse.
836 == block-html-html-1a.html block-html-html-1-ref.html
837 == block-html-html-1b.html block-html-html-1-ref.html
838 == block-html-html-2.html block-html-html-2-ref.html
839 == block-html-html-3.html block-html-html-3-ref.html
840 == block-html-html-1a-dyn.html block-html-html-1-ref.html
841 == block-html-html-1b-dyn.html block-html-html-1-ref.html
842 == block-html-html-2-dyn.html block-html-html-2-ref.html
843 == block-html-html-3-dyn.html block-html-html-3-ref.html
844 # These are older tests that check whether margins on the root element collapse.
845 == block-root-1a.html block-root-1a-ref.html
846 == block-root-1a.html block-root-1a-ref2.html
847 != block-root-1a.html block-root-1a-noref1.html
848 != block-root-1a.html block-root-1a-noref2.html
849 == block-root-1b.html block-root-1b-ref.html
850 == block-root-1b.html block-root-1b-ref2.html
851 == block-html-body-1.html block-html-body-1-ref.html
852 == block-html-body-1.html block-html-body-1-ref2.html
853 != block-html-body-1.html block-html-body-1-noref.html
854 # Some basic tests for margins given in percent and em.
855 == block-percent-1.html block-percent-1-ref.html
856 == block-percent-1-dyn.html block-percent-1-ref.html
857 == block-percent-2.html block-percent-2-ref.html
858 == block-percent-2-dyn.html block-percent-2-ref.html
859 == block-em-length-1.html block-em-length-1-ref.html
860 == block-em-length-1-dyn.html block-em-length-1-ref.html
861 # Other tests.
862 == dynamic-add-text-1.html dynamic-add-text-1-ref.html # Bug 467321
863 == scrollable-vertical-margin.html scrollable-vertical-margin-ref.html
864 == scrollable-horizontal-margin.html scrollable-horizontal-margin-ref.html