Repository navigation
Enhanced <select>: HTML parser changes - #51626
Merged
webkit-commit-queue merged 1 commit intoOct 4, 2025
Merged
webkit-commit-queue merged 1 commit into
webkit-commit-queue merged 1 commit into
Conversation
Collaborator
|
EWS run on previous version of this PR (hash a348d06) Details |
annevk
force-pushed
the
eng/Enhanced-select-HTML-parser-changes
branch
from
October 2, 2025 10:36
a348d06 to
010efba
Compare
Collaborator
|
EWS run on previous version of this PR (hash 010efba) Details |
rniwa
reviewed
Oct 2, 2025
| @@ -70,6 +70,8 @@ inline bool isScopeMarker(HTMLStackItem& item) | |||
| case SVG::desc: | |||
| case SVG::title: | |||
| return true; | |||
| case HTML::select: | |||
| return item.node().document().settings().htmlEnhancedSelectParsingEnabled(); | |||
Member
There was a problem hiding this comment.
Hm... it's unfortunate that we can't use HTMLParserOptions here.
rniwa
reviewed
Oct 2, 2025
rniwa
approved these changes
Oct 2, 2025
annevk
force-pushed
the
eng/Enhanced-select-HTML-parser-changes
branch
from
October 4, 2025 10:21
010efba to
70add99
Compare
Collaborator
|
EWS run on current version of this PR (hash 70add99) Details |
https://bugs.webkit.org/show_bug.cgi?id=299959 rdar://140875257 Reviewed by Ryosuke Niwa. This implements the parser aspects of whatwg/html#10548 behind a flag. The old code path continues to be tested through our legacy HTML parser test suite. This does not yet implement new logic for the <select>, <optgroup>, <option>, and <hr> classes to account for the fact that <optgroup>, <option>, and <hr> can now appear as descendants and as such this is only useful for testing. Remove fast/parser/input-textarea-inside-select-element.html test as it was duplicative of both the legacy HTML parser test suite and WPT coverage. (Until these recent <select> changes were made the legacy HTML parser test suite was synchronized with the WPT test suite. We'll remove it once it's easier to add HTML parser tests on the WPT side.) Canonical link: https://commits.webkit.org/300998@main
webkit-commit-queue
force-pushed
the
eng/Enhanced-select-HTML-parser-changes
branch
from
October 4, 2025 13:02
70add99 to
6c7c731
Compare
Collaborator
|
Committed 300998@main (6c7c731): https://commits.webkit.org/300998@main Reviewed commits have been landed. Closing PR #51626 and removing active labels. |
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.
🧪 ios-wk2
6c7c731
70add99
🛠 win🧪 win-tests🛠 jsc-armv7🧪 jsc-armv7-tests