Bug 254578

Summary: css AccentColor keyword is not synced
Product: WebKit Reporter: Mattia Astorino <astorino.design>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: akeerthi, jensimmons
Priority: P2    
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   

Description Mattia Astorino 2023-03-28 02:56:19 PDT
Hello, just trying the new css system color keywords. Just found that on Safari 16.4, the `AccentColor` is always blue, and doesn't reflect the system accent color.

Reproduction:
https://jsfiddle.net/a9pecbv5/


I would expect the css color AccentColor keyword to reflect system changes.
Comment 1 Aditya Keerthi 2023-03-28 14:48:46 PDT
This is currently intentional behavior as a fingerprinting mitigation, to avoid exposing additional user preferences to websites.
Comment 2 Mattia Astorino 2023-03-28 22:27:51 PDT
Ok, i understand that. But the color does't change at all even after page refresh. The AccentColor keyword is supposed to reflect the system accent color (per spec), while currently it stays blue no matter what.