Closed Bug 1974784 Opened 1 year ago Closed 1 month ago

Make <select> look through all descendants for <option> elements

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: keithamus, Assigned: jjaschke)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Right now <select> looks through children & <optgroup> children for <option> elements, but should be updated to look through all of its descendants in the DOM tree for <option> elements.

Depends on: 1933591

Extends the option list, disabled state, and optgroup notification logic to
handle options nested inside wrapper elements (e.g. <div> inside <select>),
per the spec's "list of options" and "concept-option-disabled" algorithms.

Assignee: nobody → jjaschke
Status: NEW → ASSIGNED

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60314 for changes under testing/web-platform/tests

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

Upstream PR merged by moz-wptsync-bot

Backed out for causing wpt failures

Status: RESOLVED → REOPENED
Flags: needinfo?(jjaschke)
Resolution: FIXED → ---
Target Milestone: 153 Branch → ---

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60347 for changes under testing/web-platform/tests

Upstream PR merged by moz-wptsync-bot

Status: REOPENED → RESOLVED
Closed: 1 month ago1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60378 for changes under testing/web-platform/tests

Upstream PR merged by moz-wptsync-bot

Flags: needinfo?(jjaschke)
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: