Skip to main content

build_document_ordered

Function build_document_ordered 

Source
pub fn build_document_ordered(
    html: &str,
    compat: bool,
    scripting: bool,
    poll: impl FnMut() -> bool,
) -> (Node, ParseStats, AttrOrderNode)
Expand description

文書全体を解析して #document ノード(子に DOCTYPE・コメント・html)と属性順木を返す。compat はブラウザ用の整形。