[webkit-dev] Request for Position: accent-color CSS property
Joey Arhar
jarhar at chromium.org
Tue Jun 8 18:50:30 PDT 2021
Hello WebKit devs,
I am implementing the accent-color CSS property in Chromium, and I would
like to hear WebKit's position on the feature.
Chromestatus entry: https://chromestatus.com/feature/4752739957473280
Spec: https://drafts.csswg.org/css-ui-4/#widget-accent
CSSWG spec issue: https://github.com/w3c/csswg-drafts/issues/5187
The accent-color CSS property allows web developers to specify a color
which is used to paint the "accent" parts of certain form control elements.
For example, "accent-color:red" makes checkboxes appear red instead of the
default blue.
In Chromium, these are input elements with type=checkbox, type=radio, or
type=range, as well as progress elements.
On MacOS, WebKit already uses the accent color specified by the user in
System Preferences to paint type=radio and type=checkbox. The accent-color
CSS property would make the form controls paint just like they do with the
System Preferences accent color, but specified in CSS instead of in System
Preferences.
Thanks,
Joey Arhar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20210608/7977aab7/attachment.htm>
More information about the webkit-dev
mailing list