Skip to main content

Module html

Module html 

Source
Expand description

HTML parsing for the layout engine.

Provides a simple HTML parser sufficient for WPT test files and common HTML. For production use, this would be replaced with a full html5ever integration.

Functionsยง

parse_html
Parse an HTML document string into a DOM tree.
parse_html_simple
Simple recursive HTML parser for test cases and common HTML.