Skip to main content

resolve_element

Function resolve_element 

Source
pub fn resolve_element(
    node: &AncestorInfo,
    css: &Stylesheet,
    media: &MediaContext,
    ancestors: &[AncestorInfo],
) -> Attributes
Expand description

Resolve one element of a live tree from scratch, given its ancestors root-first; see RestyleWalk. What the dynamic DOM’s computed_style answers with.