CSS 2.2 CR Test Suite

Box model (8 tests)

Test Refs Flags Info
+ 8 Box model
+ 8.1 Box dimensions
+ 8.2 Example of margins, padding, and borders
+ 8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', and 'margin'
+ 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
+ 8.4 Padding properties: 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', and 'padding'
+ 8.5 Border properties
+ 8.5.1 Border width: 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width', and 'border-width'
+ 8.5.2 Border color: 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color', and 'border-color'
+ 8.5.3 Border style: 'border-top-style', 'border-right-style', 'border-bottom-style', 'border-left-style', and 'border-style'
+ 8.5.4 Border shorthand properties: 'border-top', 'border-right', 'border-bottom', 'border-left', and 'border'
+ 8.6 The box model for inline elements in bidirectional context