-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Make <menuitem> parse like an unknown element #2319
Conversation
(Marking |
I think we can pull the trigger on this given 3/4. |
@inikulin may also want to check this out, although apparently he's not part of the org so I can't assign him as a reviewer. |
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.
lgtm
That's odd, I'm listed as a member: https://github.com/orgs/whatwg/people?utf8=%E2%9C%93&query=inikulin |
I added @inikulin to https://github.com/whatwg/html/settings/collaboration. Hopefully that makes it work better going forward. |
8fb8485
to
4473bbe
Compare
Squashed and rebased to resolve conflicts with 916e1b9 |
This reverses the parser change introduced in commit: b0bad50 The list of special elements is not reverted The change was reverted in the spec: whatwg/html#2319 and the html5lib-tests: html5lib/html5lib-tests#88
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.
Thanks! Sorry about the delay.
This CL changes <menuitem> parsing rules so that they match the current spec. <menuitem> is no more a self closing tag. The link below shows the latest change made to the spec. whatwg/html#2319 BUG=412945 Review-Url: https://codereview.chromium.org/2819773002 Cr-Commit-Position: refs/heads/master@{#464906}
This CL changes <menuitem> parsing rules so that they match the current spec. <menuitem> is no more a self closing tag. The link below shows the latest change made to the spec. whatwg/html#2319 BUG=412945 Review-Url: https://codereview.chromium.org/2819773002 Cr-Commit-Position: refs/heads/master@{#464906}
This CL changes <menuitem> parsing rules so that they match the current spec. <menuitem> is no more a self closing tag. The link below shows the latest change made to the spec. whatwg/html#2319 BUG=412945 Review-Url: https://codereview.chromium.org/2819773002 Cr-Commit-Position: refs/heads/master@{#464906}
It has been removed from the whatwg HTML spec and the html5lib tests now expect it to be handled as an unknown element. See also: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem * whatwg/html#2319 * html5lib/html5lib-tests#88 All html5lib tree-construction tests are now passing: Ran 1689 tests in 0.15s Passed: 1689 Failed: 0 Skipped: 0
It has been removed from the whatwg HTML spec and the html5lib tests now expect it to be handled as an unknown element. See also: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem * whatwg/html#2319 * html5lib/html5lib-tests#88 All html5lib tree-construction tests are now passing: Ran 1689 tests in 0.15s Passed: 1689 Failed: 0 Skipped: 0
It has been removed from the whatwg HTML spec and the html5lib tests now expect it to be handled as an unknown element. See also: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem * whatwg/html#2319 * html5lib/html5lib-tests#88 All html5lib tree-construction tests are now passing: Ran 1689 tests in 0.15s Passed: 1689 Failed: 0 Skipped: 0
It has been removed from the whatwg HTML spec and the html5lib tests now expect it to be handled as an unknown element. See also: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem * whatwg/html#2319 * html5lib/html5lib-tests#88 All html5lib tree-construction tests are now passing: Ran 1689 tests in 0.15s Passed: 1689 Failed: 0 Skipped: 0
It has been removed from the whatwg HTML spec and the html5lib tests now expect it to be handled as an unknown element. See also: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem * whatwg/html#2319 * html5lib/html5lib-tests#88 All html5lib tree-construction tests are now passing: Ran 1689 tests in 0.15s Passed: 1689 Failed: 0 Skipped: 0
It has been removed from the whatwg HTML spec and the html5lib tests now expect it to be handled as an unknown element. See also: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem * whatwg/html#2319 * html5lib/html5lib-tests#88 All html5lib tree-construction tests are now passing: Ran 1689 tests in 0.15s Passed: 1689 Failed: 0 Skipped: 0
It has been removed from the whatwg HTML spec and the html5lib tests now expect it to be handled as an unknown element. See also: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem * whatwg/html#2319 * html5lib/html5lib-tests#88 All html5lib tree-construction tests are now passing: Ran 1689 tests in 0.15s Passed: 1689 Failed: 0 Skipped: 0
Some obsolete elements got their void status takes away, meaning `document.createElement(x).outerHTML` generates an opening and closing tag, so this fix matches that behavior. Related-to: whatwg/html#1095 Related-to: whatwg/html#2319 Closes GH-6. Closes GH-7.
Revert "Reconstruct active formatting elements for <menuitem>"
This reverts commit 2999aa0.
Revert "Fix #234: Change <menuitem> from void to like-<option>"
This reverts part of commit 5e49a20.
Not reverted:
Make <menuitem> parse like an unknown element
Fixes #2308.