Skip to content

HTML Conformance

Lanexio™ Parser’s HTML parser implements the full WHATWG HTML parsing algorithm. This page summarizes the conformance status as of v1.0.

CategoryTestsPassedSkippedFailed
Tree construction1,7781,77800
Tokenizer2,7662,76600

All 1,778 tree-construction tests pass. There are zero failures and zero skipped tests.

All 2,766 tokenizer tests pass.

The docs/HTML5_COVERAGE.md ledger in the repository is a frozen Phase 1 development baseline (snapshot 2026-05-01) that predates the completion of the tree builder; it does not reflect current results.

All 23 HTML5 insertion modes are implemented:

ModeStatus
InitialImplemented
Before HTMLImplemented
Before HeadImplemented
In HeadImplemented
In Head NoscriptImplemented
After HeadImplemented
In BodyImplemented
TextImplemented
In TableImplemented
In Table TextImplemented
In CaptionImplemented
In Column GroupImplemented
In Table BodyImplemented
In RowImplemented
In CellImplemented
In SelectImplemented
In Select In TableImplemented
In TemplateImplemented
After BodyImplemented
In FramesetImplemented
After FramesetImplemented
After After BodyImplemented
After After FramesetImplemented
FeatureStatus
Adoption agency algorithmImplemented
Foster parentingImplemented
Foreign content (SVG, MathML)Implemented
Scripting-disabled <noscript>Implemented
<template> elementImplemented
Quirks mode detectionImplemented
Fragment parsingImplemented

WHATWG HTML Living Standard § 13.2 (Parsing)
RAG: html_docs::parsing-main@whatwg-2026-03-01

html5lib tests: https://github.com/html5lib/html5lib-tests

On top of the html5lib suite above, pnpm conformance:suite measured this family over the test_files/html corpus on 2026-10-06 at Lanexio™ Parser version 1.0.0:

familyvalidinvalidrawcontract-subsetREAL-DEFECT
html1209219598.4%100.0% (12092/12092)0

The raw figure reflects 195 inputs the directory rule labels invalid that the parser accepts; the contract-subset over the 12,092 valid inputs is 100.0%.