Function root_transform_for_layout_node

Source
fn root_transform_for_layout_node(
    scroll_tree: &ScrollTree,
    node: ServoThreadSafeLayoutNode<'_>,
) -> Option<FastLayoutTransform>
Expand description

Get a scroll node that would represents this ServoLayoutNode’s transform and calculate its cumlative transform from its root scroll node to the scroll node.