Skip to main content

Module tree

Module tree 

Source
Expand description

Box tree representation for layout.

The box tree is the input to the layout engine. It represents the CSS box model structure after display computation has determined which formatting contexts apply.

Structs§

BoxTree
The box tree — arena-allocated tree of layout boxes.
BoxTreeBuilder
Helper to build a box tree from a simple description.
BoxTreeNode
A single node in the box tree.
NodeId
A unique identifier for a node in the box tree.
TextContent
Text content for inline layout.

Enums§

FormattingContextType
The type of formatting context established by a container.
NodeKind
The kind of content a box tree node holds.