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