Expand description
Layout. Performs layout on the DOM, builds display lists and sends them to be painted.
ModulesΒ§
- accessibility π
- cell π
- construct_
modern π - Layout construction code that is shared between modern layout modes (Flexbox and CSS Grid)
- containing_
block π - context π
- display_
list π - dom π
- dom_
traversal π - flexbox π
- flow
- Flow layout, also known as block-and-inline layout.
- formatting_
contexts π - fragment_
tree π - geom
- layout_
box_ πbase - layout_
impl π - layout_
root π - lists π
- positioned π
- query π
- Utilities for querying the layout, as needed by layout.
- quotes π
- replaced π
- selection π
- sizing π
- https://drafts.csswg.org/css-sizing/
- style_
ext π - table
- HTML Tables (β―Β°β‘Β°)β―οΈ΅ β»ββ»
- taffy π
- traversal π
StructsΒ§
- ArcRef
Cell - Layout
Factory Impl - Propagated
BoxTree πData - Data that is propagated from ancestors to descendants during
crate::flow::BoxTreeconstruction. This allows data to flow in the reverse direction of the typical layout propoagation, but only duringBoxTreeconstruction.
Type AliasesΒ§
- Shared
Style π - At times, a style is βownedβ by more than one layout object. For example, text
fragments need a handle on their parent inline boxβs style. In order to make
incremental layout easier to implement, another layer of shared ownership is added via
SharedStyle. This allows updating the style in originating layout object and having all βdepdendentβ objects update automatically.