Bug 239600 - CSS System colors should respect OS preference
Summary: CSS System colors should respect OS preference
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 15
Hardware: Unspecified macOS 12
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-21 06:18 PDT by Mish
Modified: 2022-04-25 06:50 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mish 2022-04-21 06:18:49 PDT
CSS system colors don't match (macOS) system accent color preference

For example, i have "Graphite" as my accent color in macOS, therefor when selecting text i expect the highlight color to be grey. However, when i'm using CSS "highlight" color as background color, the highlight color is always blue, regardless of my OS preference

The example is demonstrated here: https://jsfiddle.net/1hx69ud7/
Comment 1 Alexey Proskuryakov 2022-04-24 13:34:30 PDT
This appears to be intentional to reduce fingerprinting, see bug 188203.
Comment 2 Mish 2022-04-25 06:50:58 PDT
ah ok, thanks!