[Webkit-unassigned] [Bug 240925] New: Form fields don't respect color-scheme property value
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 25 14:36:52 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=240925
Bug ID: 240925
Summary: Form fields don't respect color-scheme property value
Product: WebKit
Version: Safari 15
Hardware: Mac (Intel)
OS: macOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: me at shannonmoeller.com
CC: cdumez at apple.com, wenson_hsieh at apple.com
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220525/ec5c0159/attachment.htm>
More information about the webkit-unassigned
mailing list