Module layout_2013::traversal
source · Expand description
Traversals over the DOM and flow trees, running the layout computations.
Structs§
- The assign-block-sizes-and-store-overflow traversal, the last (and most expensive) part of layout computation. Determines the final block-sizes for all layout objects and computes positions. In Gecko this corresponds to
Reflow
. - The assign-inline-sizes traversal. In Gecko this corresponds to
Reflow
. - The bubble-inline-sizes traversal, the first part of layout computation. This computes preferred and intrinsic inline-sizes and bubbles them up the tree.
Traits§
- An in-order (sequential only) traversal.
- A bottom-up traversal, with a optional in-order pass.
- A bottom-up, parallelizable traversal.
- A top-down traversal.
Functions§
- The flow construction traversal, which builds flows for styled nodes.
- Safety