Skip to main content

build_layout_and_info_with_images

Function build_layout_and_info_with_images 

Source
pub fn build_layout_and_info_with_images(
    dom: &NodeRef<HtmlNodeType>,
    resolved_styles: &ResolvedStyles,
    measurer: Arc<dyn TextMeasurer>,
    parent: InheritedCss,
    chain: ElementChain,
    system_color_scheme: ColorScheme,
    scripting_mode: ScriptingMode,
    images: &HashMap<String, Image>,
) -> (LayoutNode, InfoNode)
Expand description

Builds layout and render trees with decoded images keyed by their src value.