Skip to content

[media-5] Add more discussion of fingerprinting risks with prefers-*, per #12282 #12318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 17, 2025

Conversation

schenney-chromium
Copy link
Contributor

Explicitly address fingerprinting concerns with media queries. Also goes some way to addressing #10076 and #9119 and #3488.

@schenney-chromium
Copy link
Contributor Author

I'm not very confident writing this sort of thing. Any feedback is welcome.

Copy link
Contributor

@svgeesus svgeesus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general this looks good, and is way better than what is there now!

Properties dependent on one of the above media queries
may be accessed by script using several methods:

* Colors and other property values may be directly accessed through computed style.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but specifications are mitigating that in some cases.

For example, system colors, in CSS Color 4

User Agents may, to mitigate privacy and security risks such as fingerprinting, elect to return fixed values for the used value of system colors which do not reflect customisation or theming choices made by the user.

@svgeesus svgeesus requested review from frivoal and lukewarlow June 16, 2025 19:27
@svgeesus svgeesus merged commit 3d40348 into w3c:main Jun 17, 2025
1 check passed
@schenney-chromium schenney-chromium deleted the media-fingerprint branch June 17, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants