Re: [csswg-drafts] [mediaqueries-5] Ability to retrieve the original value of an overridden preference (#11580)

> By exposing the original + the overridden value, one can single out users who have overridden the preference.

You can already determine that based on the current API design? navigator.preferences.colorScheme.override  will be null if it's the original value or set if its overridden.

While you can't determine the OS value at the same time as the override you can just clear the override read the value and set the override again. I don't think it's introducing anything novel wrt fingerprinting?

Having said all that I think my main question is what are the use cases? Are they valid enough for the potentially extra complexity (especially if we have to track changes to both)?


-- 
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11580#issuecomment-2616563225 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 27 January 2025 18:18:02 UTC