Files
moli/moli-parser
ldm0 a4e4795f53 fix(dom): parse XML markup fragments with native namespace contexts
Share a strict XML fragment parser across Range.createContextualFragment,
innerHTML, outerHTML and insertAdjacentHTML. Carry native in-scope namespace
bindings without inherited DTD entities, preserve XML node kinds and UTF-16
TrustedHTML inputs, and keep parsed scripts inert after adoption.

Validate the complete fragment before replacing existing children and expose
syntax failures as DOMExceptions in the callee realm. Keep setHTMLUnsafe on
its HTML parser path. Cover native Proxies, ShadowRoot and template contexts,
cross-realm calls, mutation atomicity and malformed namespace declarations.
2026-11-03 18:08:17 +08:00
..