Module layout_2013::block
source · Expand description
Layout for CSS block-level elements.
As a terminology note, the term absolute positioning here refers to elements with position
absolute
or fixed
. The term positioned element refers to elements with position
relative
, absolute
, and fixed
. The term containing block (occasionally abbreviated as
CB) is the containing block for the current flow, which differs from the static containing
block if the flow is absolutely-positioned.
“CSS 2.1” or “CSS 2.2” refers to the editor’s draft of the W3C “Cascading Style Sheets Level 2 Revision 2 (CSS 2.2) Specification” available here:
“INTRINSIC” refers to L. David Baron’s “More Precise Definitions of Inline Layout and Table Layout” available here:
http://dbaron.org/css/intrinsic/
“CSS-SIZING” refers to the W3C “CSS Intrinsic & Extrinsic Sizing Module Level 3” document available here:
Structs§
- The real assign-block-sizes traversal for flows with position ‘absolute’.
- The different types of Blocks.
- The solutions for the block-size-and-margins constraint equation.
- Performs block-size calculations potentially multiple times, taking (assuming an horizontal writing mode)
height
,min-height
, andmax-height
into account. After each call tonext()
, the caller must call.try()
with the current calculated value ofheight
. - Information specific to floated blocks.
- The inputs for the inline-sizes-and-margins constraint equation.
- The solutions for the inline-size-and-margins constraint equation.