WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
235247
Clarify / Optimize <select> logic given that deeply nested <option> or <optgroup> are not supported
https://bugs.webkit.org/show_bug.cgi?id=235247
Summary
Clarify / Optimize <select> logic given that deeply nested <option> or <optgr...
Chris Dumez
Reported
2022-01-14 13:05:35 PST
Clarify / Optimize <select> logic given that deeply nested <option> or <optgroup> are not supported, as per specification. An <option> is only associated with a <select> element if it is either a child of the <select> or a child of an <optgroup> that is itself a child of the <select>: -
https://html.spec.whatwg.org/multipage/form-elements.html#concept-select-option-list
As a result, an <optgroup> is only associated with a <select> element if it is a child of that <select>.
Attachments
Patch
(12.30 KB, patch)
2022-01-14 13:08 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2022-01-14 13:08:13 PST
Created
attachment 449210
[details]
Patch
Geoffrey Garen
Comment 2
2022-01-14 13:13:39 PST
Comment on
attachment 449210
[details]
Patch r=me
EWS
Comment 3
2022-01-14 14:47:53 PST
Committed
r288033
(
246059@main
): <
https://commits.webkit.org/246059@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 449210
[details]
.
Radar WebKit Bug Importer
Comment 4
2022-01-14 14:48:26 PST
<
rdar://problem/87619558
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug