Closed Bug 2037033 Opened 12 days ago Closed 9 days ago

[wpt-sync] Sync PR 59644 - Make option:disabled match inside disabled select

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 59644 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/59644
Details from upstream follow.

Joey Arhar <jarhar@chromium.org> wrote:

Make option:disabled match inside disabled select

Options and optgroups aren't considered disabled when they are inside a
disabled select, which is causing an issue for customizable select UA
styles where hover styles are activating when the select is disabled.

Some code still needs to consider options inside a disabled select as
enabled in order to make sure that an option becomes selected inside a
disabled select, so now the :enabled and :disabled pseudo-classes don't
match up with the internally disabled state.

Context: https://github.com/w3c/csswg-drafts/issues/13383
Spec PR: https://github.com/whatwg/html/pull/12205

Fixed: 490082172
Change-Id: I8c4dac7ee5da5e36ab205a536d36651528937df8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7624129
Reviewed-by: David Baron \<dbaron@chromium.org>
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Commit-Queue: Joey Arhar \<jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1624951}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Attached file Notable wpt changes

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 162 tests

Status Summary

Firefox

OK : 2[GitHub] 86[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 7[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 9[GitHub] 185[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 189[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 200[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 201[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 4[GitHub] 125[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 152[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 180[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 181[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 2
PASS: 10
FAIL: 3

Safari

OK : 2
PASS: 10
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: