Expand description
Block formatting context layout.
Implements CSS 2.1 §9.4.1 — Block Formatting Contexts and CSS 2.1 §10.3.3 — Block-level non-replaced elements in normal flow.
Functions§
- layout_
block - Layout a block-level element and its children.
- shrink_
to_ fit_ width - Compute shrink-to-fit width for a block (CSS 2.1 §10.3.5). Used for floats, inline-blocks, absolutely positioned elements, etc.