Skip to main content

build_document

Function build_document 

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

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