Function html5ever::driver::parse_fragment_for_element
source ยท pub fn parse_fragment_for_element<Sink>(
sink: Sink,
opts: ParseOpts,
context_element: Sink::Handle,
form_element: Option<Sink::Handle>,
) -> Parser<Sink>where
Sink: TreeSink,
Expand description
Like parse_fragment
, but with an existing context element
and optionally a form element.