10.3.6 Floating, replaced elements

Chapter 10 - Visual formatting model details - 10.3.6 Floating, replaced elements

Go to the relevant page of the specification.

float-replaced-width-001 (image)
Floated replaced elements with 'auto' left margin
If 'margin-left' is computed as 'auto' its used value is '0'.
float-replaced-width-002 (image)
Floated replaced elements with specified left margin
If 'margin-left' is not computed as 'auto' its used value is as specified.
float-replaced-width-003 (image)
Floated replaced elements with 'auto' right margin
If 'margin-right' is computed as 'auto' its used value is '0'.
float-replaced-width-004 (image)
Floated replaced elements with specified right margin
If 'margin-right' is not computed as 'auto' its used value is as specified.
float-replaced-width-005 (image)
Floated replaced elements with left and right margins as 'auto'
If both 'margin-left' and margin-right' are computed as 'auto' their used value is as '0'.
float-replaced-width-006 (image)
Floated replaced elements and 'auto' specified for 'margin-left', 'margin-right' and intrinsic width
Computed value of 'auto' for 'margin-left' or margin-right' on floated replaced elements becomes a used value of '0'. The intrinsic width is also used if 'height' and 'width' are 'auto'.
float-replaced-width-007 (nonHTML, svg)
Floated replaced elements and 'auto' specified for 'margin-left', 'margin-right' and intrinsic height
Computed value of 'auto' for 'margin-left' or margin-right' on floated replaced elements becomes a used value of '0'. The 'width' is (used height) * (intrinsic ratio) if there is no intrinsic width but there is intrinsic height and ratio.
float-replaced-width-008 (nonHTML, svg)
Floated replaced elements and 'auto' specified for 'margin-left', 'margin-right' and 'height'
Computed value of 'auto' for 'margin-left' or margin-right' on floated replaced elements becomes a used value of '0'. The 'width' is (used height) * (intrinsic ratio) if there is no intrinsic width but there is intrinsic height and ratio.
float-replaced-width-009 (nonHTML, svg)
Floated replaced elements and 'auto' specified for 'margin-left', 'margin-right' and no intrinsic height or width
Computed value of 'auto' for 'margin-left' or margin-right' on floated replaced elements becomes a used value of '0'. The height and width are adjusted by the constraints for block-level, non-replaced elements.
float-replaced-width-011 (image)
Floated replaced elements and 'auto' specified for 'margin-left', 'margin-right' and percentage intrinsic width
Percentage intrinsic widths are evaluated against the containing block's width.