Skip to main content

resolve_anchor_positioning

Function resolve_anchor_positioning 

Source
pub fn resolve_anchor_positioning(layout: &mut LayoutNode, info: &InfoNode)
Expand description

Resolve CSS anchor positioning for all positioned elements.

Walks the tree after layout to collect anchor rects (by anchor-name), then shifts elements that use anchor() inset functions.