-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add initial errors for before html insert mode section #21
base: master
Are you sure you want to change the base?
Conversation
* Add initial insertion mode errors * Fix review nits
Couple of questions:
|
@pmdartus Great work!
Yes, we'll update them when we'll work on these sections.
I've been thinking about calling it
I've been thinking about calling it |
source
Outdated
@@ -100249,6 +100249,19 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> { | |||
</div> | |||
|
|||
<tr> | |||
<td><dfn data-x="parse-error-unexpected-doctype">unexpected-doctype</dfn> | |||
<td> | |||
<p>This error occurs if the parser encounters an incorrectly placed <span |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to elaborate what we mean by "incorrectly placed": if DOCTYPE is not a document preamble, i.e. there is content that is not comments or ASCII whitespace before it.
<tr> | ||
<td><dfn data-x="parse-error-unexpected-end-tag">unexpected-end-tag</dfn> | ||
<td> | ||
<p>This error occurs if the parser encounters an unexpected end tag. In this case the parser |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #21 (comment)
@pmdartus Any update on this? I'm just asking because I'm blocked on this errors at the moment: they will be used in the consequent insertion modes as well. |
\cc @HTMLParseErrorWG/core