RESOLVED FIXED240925
System colors do not always respect inherited color-scheme values
https://bugs.webkit.org/show_bug.cgi?id=240925
Summary System colors do not always respect inherited color-scheme values
Shannon Moeller
Reported 2022-05-25 14:36:52 PDT
Unfocused form fields (at least input and select) don't respect the current `color-scheme` property value when selecting the default background color; it instead uses the system-defined value. For example, if the system is in dark mode and a form field exists in a container that has set `color-scheme: light;`, the form field incorrectly has a dark background in addition to dark text. The correct background color is used when the field receives focus, but reverts to the incorrect value when blurred again. https://twitter.com/shannonmoeller/status/1528801195963256833 https://codepen.io/shannonmoeller/full/dyJOedj
Attachments
Radar WebKit Bug Importer
Comment 1 2022-06-01 14:37:12 PDT
Aditya Keerthi
Comment 2 2022-07-25 10:59:37 PDT
EWS
Comment 3 2022-08-02 10:14:06 PDT
Committed 253041@main (ae8a3909d325): <https://commits.webkit.org/253041@main> Reviewed commits have been landed. Closing PR #2706 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.