Intent to prototype: inverted-colors media feature

64 views
Skip to first unread message

CanadaHonk

unread,
Apr 12, 2023, 9:33:40 AM4/12/23
to dev-pl...@mozilla.org
Summary:
The "inverted-colors" media query allows websites to detect when users are using inverted colors with their display, and adjust accordingly. It also by default inverts images and videos when inverted, making them appear regular/uninverted on inverted displays. Based on system settings.

Standards body: W3C
Platform coverage: All

Preference: layout.css.inverted-colors.enabled

Other browsers:
Blink: Not shipped or implemented. No bug or standards position.
WebKit: Shipped since Safari 9.1 (Jan 2017).

Web platform tests: Added in Gecko patch, https://phabricator.services.mozilla.com/D173201

How stable is the spec: Media Queries Level 5 is currently a Working Draft.
Security & privacy concerns: This potentially introduces a fingerprinting vector, so the pref for this specific media query will be kept disabled by default until decided.
Reply all
Reply to author
Forward
0 new messages