+
8.3.1 Collapsing margins |
adjoining-float-new-fc |
= |
|
New formatting context next to adjoining float
|
clear-after-top-margin |
= |
|
Clearance inside block with top margin
|
clear-with-top-margin-after-cleared-empty-block |
= |
|
Clearance on empty block followed by block with large margin and 'clear'
|
margin-collapse-min-height-001 |
= |
|
CSS margin: Margin collapsing and elements with min-height
- If the top margin of a box with non-zero computed 'min-height' and 'auto' computed 'height' collapses with the bottom margin of its last in-flow child, then the child's bottom margin does not collapse with the parent's bottom margin.
|
margin-collapse-min-height-002 |
= |
|
CSS margin: Margin collapsing and elements with min-height
- If the top margin of a box with non-zero computed 'min-height' and 'auto' computed 'height' collapses with the bottom margin of its last in-flow child, then the child's bottom margin does not collapse with the parent's bottom margin.
|
margin-collapse-through-zero-height-block |
= |
|
Collapse bottom margin from previous sibling through zero height block to next sibling
|
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
|