Make <menuitem> parse like an unknown element#2319
Merged
Conversation
zcorpan
added a commit
to html5lib/html5lib-tests
that referenced
this pull request
Feb 3, 2017
Member
Author
|
(Marking |
Member
|
I think we can pull the trigger on this given 3/4. |
Member
|
@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. |
Member
That's odd, I'm listed as a member: https://github.com/orgs/whatwg/people?utf8=%E2%9C%93&query=inikulin |
Member
|
I added @inikulin to https://github.com/whatwg/html/settings/collaboration. Hopefully that makes it work better going forward. |
RReverser
approved these changes
Feb 9, 2017
8fb8485 to
4473bbe
Compare
Member
Author
|
Squashed and rebased to resolve conflicts with 916e1b9 |
iabudiab
added a commit
to iabudiab/HTMLKit
that referenced
this pull request
Feb 11, 2017
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
hsivonen
approved these changes
Feb 14, 2017
Member
hsivonen
left a comment
There was a problem hiding this comment.
Thanks! Sorry about the delay.
nox
added a commit
to nox/html5ever
that referenced
this pull request
Mar 16, 2017
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
Apr 17, 2017
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}
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
Apr 17, 2017
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}
scheib
pushed a commit
to scheib/chromium
that referenced
this pull request
Apr 17, 2017
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}
craigbarnes
added a commit
to craigbarnes/lua-gumbo
that referenced
this pull request
May 10, 2018
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
stevecheckoway
pushed a commit
to stevecheckoway/nokogumbo
that referenced
this pull request
Aug 19, 2018
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
stevecheckoway
pushed a commit
to rubys/nokogumbo
that referenced
this pull request
Aug 22, 2018
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
chozekun
pushed a commit
to chozekun/gumbo-parser
that referenced
this pull request
Dec 13, 2018
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
chozekun
pushed a commit
to chozekun/gumbo-parser
that referenced
this pull request
Dec 16, 2018
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
chozekun
pushed a commit
to chozekun/gumbo-parser
that referenced
this pull request
Dec 16, 2018
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
flavorjones
pushed a commit
to sparklemotion/nokogiri
that referenced
this pull request
Apr 7, 2021
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
wooorm
pushed a commit
to wooorm/html-void-elements
that referenced
this pull request
May 19, 2023
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.
txgk
added a commit
to gumbo-parser/gumbo-parser
that referenced
this pull request
Aug 26, 2025
this lets us pass 13 more tests from html5lib-tests whatwg/html#2319 html5lib/html5lib-tests#88 rubys/nokogumbo@4af5691
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.