3 ms·
> a parser may reject the document entirely if it occurs Ah, that's what I was missing. Thanks! The relevant part of the spec: > user agents, while parsing an
by 9029 11mo ago
> a parser may reject the document entirely if it occurs
Ah, that's what I was missing. Thanks! The relevant part of the spec:
> user agents, while parsing an HTML document, may abort the parser at the first parse error that they encounter for which they do not wish to apply the rules described in this specification.
(https://html.spec.whatwg.org/multipage/parsing.html#parse-errors https://html.spec.whatwg.org/multipage/parsing.html#parse-er...)