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
Chris Dumez
Comment 1 2022-01-14 13:08:13 PST
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
Note You need to log in before you can comment on or make changes to this bug.