Skip to main content

build_document_ordered_quirks

Function build_document_ordered_quirks 

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

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