[wpt-sync] Sync PR 59644 - Make option:disabled match inside disabled select
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
96.46 KB,
text/plain
|
Details |
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/12205Fixed: 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}
| Assignee | ||
Updated•12 days ago
|
| Assignee | ||
Comment 1•12 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0eb600040a5e339ba0e6e02e48792c4ce0264446
| Assignee | ||
Comment 2•12 days ago
|
||
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
- /html/semantics/forms/the-select-element/customizable-select/option-disabled-optgroup.html [wpt.fyi]
- options should check ancestor optgroup for disabled state.:
FAIL
- options should check ancestor optgroup for disabled state.:
(See attachment for full changes)
Comment 4•9 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/97377e959341
https://hg.mozilla.org/mozilla-central/rev/53dee52c445b
Description
•