new-fc-beside-adjoining-float |
= |
|
A new formatting context that fits beside an adjoining float, and thus pulls down the float with its top margin
- The float is adjoining with the box that establishes a new formatting context when it fits beside it, and will therefore be affected by its margin
|
new-fc-beside-adjoining-float-2 |
= |
|
A new formatting context that fits beside an adjoining float, and thus pulls down the float with its top margin
- The float is adjoining with the box that establishes a new formatting context when it fits beside it, and will therefore be affected by its margin
|
new-fc-separates-from-float |
= |
|
A new formatting context that doesn't fit beside a float make the float non-adjoining
- Although the 'clear' property isn't specified in this test, a new formatting context that doesn't fit below a float that would otherwise be adjoining will need to separate its margin from the float, so that it doesn't affect the float. This is very similar to clearance.
|
new-fc-separates-from-float-2 |
= |
|
A new formatting context that doesn't fit beside a float make the float non-adjoining
- Although the 'clear' property isn't specified in this test, a new formatting context that doesn't fit below a float that would otherwise be adjoining will need to separate its margin from the float, so that it doesn't affect the float. This is very similar to clearance.
|
+
9.5.2 Controlling flow next to floats: the 'clear' property |
adjoining-float-before-clearance |
= |
|
Float that would be adjoining if there were no clearance
- If the clearance candidate would pull a float down with it (due to margin collapsing) if there were no clearance, clearance needs to be inserted to separate the two, so that the block can go past the float. No matter how large the margin is, it should still be just below the float.
|
adjoining-float-new-fc |
= |
|
New formatting context next to adjoining float
|
clear-after-top-margin |
= |
|
Clearance inside block with top margin
|
clear-on-child-with-margins |
= |
|
Child of block with clear
|
clear-on-parent |
= |
|
Child of block with clear
|
clear-on-parent-and-child |
= |
|
Child of block with clear
|
clear-on-parent-with-margins |
= |
|
Child of block with clear
|
clear-on-parent-with-margins-no-clearance |
= |
|
Child of block with clear
|
clear-with-top-margin-after-cleared-empty-block |
= |
|
Clearance on empty block followed by block with large margin and 'clear'
|
negative-clearance-after-adjoining-float |
= |
|
Negative clearance between adjoining float and child with top margin
|
negative-clearance-after-bottom-margin |
= |
|
Negative clearance between bottom margin and cleared child with top margin
|
nested-clearance-new-formatting-context |
= |
|
Nested clearance on new formatting context
|
new-fc-beside-adjoining-float |
= |
|
A new formatting context that fits beside an adjoining float, and thus pulls down the float with its top margin
- The float is adjoining with the box that establishes a new formatting context when it fits beside it, and will therefore be affected by its margin
|
new-fc-beside-adjoining-float-2 |
= |
|
A new formatting context that fits beside an adjoining float, and thus pulls down the float with its top margin
- The float is adjoining with the box that establishes a new formatting context when it fits beside it, and will therefore be affected by its margin
|
new-fc-separates-from-float |
= |
|
A new formatting context that doesn't fit beside a float make the float non-adjoining
- Although the 'clear' property isn't specified in this test, a new formatting context that doesn't fit below a float that would otherwise be adjoining will need to separate its margin from the float, so that it doesn't affect the float. This is very similar to clearance.
|
new-fc-separates-from-float-2 |
= |
|
A new formatting context that doesn't fit beside a float make the float non-adjoining
- Although the 'clear' property isn't specified in this test, a new formatting context that doesn't fit below a float that would otherwise be adjoining will need to separate its margin from the float, so that it doesn't affect the float. This is very similar to clearance.
|
no-clearance-adjoining-opposite-float |
= |
|
No clearance due to large top margin that takes us past the float
- Check that we don't apply clearance when the top margin of the clearance candidate takes it past the relevant float, and that a preceding empty block with a right float that's adjoining to the clearance candidate doesn't cause confusion
|
no-clearance-due-to-large-margin |
= |
|
No clearance due to large top margin that takes us past the float
|
no-clearance-due-to-large-margin-after-left-right |
= |
|
No clearance due to large top margin inside clear:right inside clear:left that takes us past the floats
|
second-float-inside-empty-cleared-block |
= |
|
Float separated from float inside empty cleared block
|
second-float-inside-empty-cleared-block-after-margin |
= |
|
Float separated from float inside empty cleared block, margin before clearance
|