Repository navigation
A selectedcontent element's option clones must not be options of its select - #77273
Open
annevk wants to merge 1 commit into
Conversation
…select https://bugs.webkit.org/show_bug.cgi?id=327828 rdar://190223089 Reviewed by NOBODY (OOPS!). When a selected option's subtree contains a nested option, cloning it into a selectedcontent element placed a cloned option into the select's list of options. With a selected nested option this looped forever (each clone became the selected option, re-running the update); without one, select.options still wrongly included the clone. A selectedcontent element only ever holds clones, on both the single and the multiple selection paths, so treat it as such unconditionally. Test: imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/selectedcontent-cloned-option-is-not-an-option.tentative.html
Collaborator
|
EWS run on current version of this PR (hash 8d4efe2) Details
|
rniwa
approved these changes
Oct 16, 2026
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.
🧪 api-mac
🛠 ios-safer-cpp
8d4efe2
8d4efe2