Contact emails [email protected] <mailto:[email protected]>, [email protected] <mailto:[email protected]>
Explainer None Specification https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-transparency Summary Adds the `prefers-reduced-transparency` feature, which lets authors adapt web content to user-selected preference for reduced transparency in the OS, such as the 'Reduce transparency' setting on macOS. Valid options are 'reduce' or 'no-preference'. Blink component Blink>CSS <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ECSS> Search tags css <https://chromestatus.com/features#tags:css>, prefers-reduced-transparency <https://chromestatus.com/features#tags:prefers-reduced-transparency> TAG review None TAG review status Not applicable Risks Interoperability and Compatibility Gecko: No signal (https://github.com/mozilla/standards-positions/issues/851) There is a separate umbrella issue for some the preference media queries (contrast, motion, color-scheme). They have a stale PR to add an overall positive position for those preference media queries. They also have an implementation behind a flag. It's not been enabled yet due to fingerprinting concerns. WebKit: No signal (https://github.com/WebKit/standards-positions/issues/145) I have submitted an implementation of this feature as a PR to WebKit: https://github.com/WebKit/WebKit/pull/11560 Web developers: Positive (https://blog.logrocket.com/new-media-queries-you-need-to-know) Other signals: Security This feature can be used for fingerprinting as it exposes a user preference. WebView application risks Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? Debuggability This can be emulated in the Dev Tools rendering tab like other preference media queries. Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)? Yes The feature will be supported on all platforms, but whether the user will be able to signal a reduced transparency preference may depend on the OS. Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>? Yes Flag name on chrome://flags #enable-experimental-web-platform-features Finch feature name PrefersReducedTransparency Requires code in //chrome? False Tracking bug https://bugs.chromium.org/p/chromium/issues/detail?id=1424879 Sample links https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-transparency#examples Estimated milestones Shipping on desktop 117 DevTrial on desktop 117 Shipping on Android 117 DevTrial on Android 117 Anticipated spec changes Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way). Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5191066147356672 Links to previous Intent discussions Intent to prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6D62B5CD-B44D-4CB1-B85A-F73DFFD6CE85%40gmail.com This intent message was generated by Chrome Platform Status <https://chromestatus.com/>. -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/27CA7B34-5C7E-44DE-A75D-41E6034DD833%40gmail.com.
