-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Allow comments to end with <!--> #1456
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
Conversation
@eel-in-a-hovercraft Thanks for bringing this issue to our attention. Would you like to have your name in the spec's Acknowledgements, and if so under what name? |
Do we expect more fallout? How many implementations do we have now of the new comment states? I'm a little worried that we are tinkering too much with something that was fairly robust. |
No. We should have anticipated this one. User-facing behavior for this has been in the W3C HTML checker getting hit with a dozen requests or more every second, and this is the only unexpected change any users have reported so far.
Just one: The parser used by the HTML parser. No browser implementations yet. But it’s only been in the spec for one day so far… |
@sideshowbarker has now implemented this change in https://checker.html5.org/ and AFAICT it now works as expected. |
Thank YOU. Having my name in the acknowledgements would be great. Put me in Thanks again.
|
Awesome, added you. 👍 |
I think this is ready to merge. |
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456 Differential Revision: https://phabricator.services.mozilla.com/D82000
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456 Differential Revision: https://phabricator.services.mozilla.com/D82000
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456 Differential Revision: https://phabricator.services.mozilla.com/D82000
Also allow `<!-->` at (IE conditional) comment end See whatwg/html#1356 See whatwg/html#1456 Differential Revision: https://phabricator.services.mozilla.com/D82000
Introduce a new state in the parser to not give a parse error
when a comment ends with "
<!-->
".It is common to use conditional comments for legacy IE like this:
This regressed in 518d16f.
Fixes #1453.