-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
Line 1044 of tests19.dat in the tree construction tests lists three parse errors:
#data
<!doctype html><math></html>
#errors
(1,28): unexpected-end-tag
(1,28): expected-one-end-tag-but-got-another
(1,28): unexpected-end-tag
I have only been able to identify two of them, the first in foreign content parsing:
If node's tag name, converted to ASCII lowercase, is not the same as the tag name of the token, then this is a parse error.
And the second in the "in body" insertion mode:
Otherwise, if there is a node in the stack of open elements that is not either a dd element, a dt element, ..., or the html element, then this is a parse error.
After that the "after body" insertion mode only emits a parse error during fragment parsing (which this is not).
The test would seem to be in error. Is my assessment correct?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels