Expand description
solver3/layout_tree.rs
Layout tree generation and anonymous box handling
Structs§
- Cached
Inline Layout - Cached inline layout result with the constraints used to compute it.
- IfcId
- Unique identifier for an Inline Formatting Context (IFC).
- IfcMembership
- Tracks a layout node’s membership in an Inline Formatting Context.
- Layout
Node - A layout tree node representing the CSS box model
- Layout
Tree - The complete layout tree structure
- Layout
Tree Builder - Subtree
Hash - A hash that represents the content and style of a node PLUS all of its descendants. If two SubtreeHashes are equal, their entire subtrees are considered identical for layout purposes.
Enums§
- Anonymous
BoxType - Types of anonymous boxes that can be generated
- Dirty
Flag - Represents the invalidation state of a layout node.
- Pseudo
Element - CSS pseudo-elements that can be generated
Functions§
- generate_
layout_ tree - Generate layout tree from styled DOM with proper anonymous box generation
- get_
display_ type - is_
block_ level