Bug 254578 - css AccentColor keyword is not synced
Summary: css AccentColor keyword is not synced
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 16
Hardware: Mac (Apple Silicon) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-28 02:56 PDT by Mattia Astorino
Modified: 2023-03-28 22:27 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 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.