Contact emails
dgro...@chromium.org, p...@chromium.org

Explainer
https://davidsgrogan.github.io/env-explainer.html


Specification
https://drafts.csswg.org/css-env-1/#text-zoom


Summary

Exposes a user's preferred font scale to CSS. Currently, it is not practical 
for a page to detect if the user has changed their preferred font size via the 
Operating System's preferences. This CSS environment variable will reflect the 
scale chosen by the user.



Blink component
Blink>Accessibility


TAG review
https://github.com/w3ctag/design-reviews/issues/1101


TAG review status
Pending


Risks




Interoperability and Compatibility

None


Gecko: No signal (https://github.com/mozilla/standards-positions/issues/1229)

WebKit: No signal (https://github.com/WebKit/standards-positions/issues/499)

Web developers: Positive (https://github.com/w3c/csswg-drafts/issues/10674) 
This proposal started with a request from a BBC developer

Other signals:


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?

None




Debuggability

This can be debugged using existing devtools support by connecting to a device. 
We have a plan for making this easier at https://crbug.com/419595584.



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, 
ChromeOS, Android, and Android WebView)?
No
Initial support will be limited to Android, which has limited practical ability 
to respect the OS font scale today. On Windows, we scale the entire browser in 
response to the OS setting, and some followup work is needed to support this 
while not double-zooming.



Is this feature fully tested by web-platform-tests?
Yes
This is tested with internal WPT tests due to lack of support for OS font scale 
setting in tests. https://github.com/web-platform-tests/wpt/issues/12725



Flag name on about://flags
None


Finch feature name
CSSPreferredTextScale


Rollout plan
Will ship enabled for all users


Requires code in //chrome?
False


Tracking bug
https://crbug.com/397737223


Measurement
UseCounter: 
https://chromestatus.com/metrics/feature/popularity#CSSEnvironmentVariable_PreferredTextScale


Estimated milestones


Shipping on Android 138




Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop 
issues. Please list open issues (eg links to known github issues in the project 
for the feature specification) whose resolution may introduce web 
compat/interop risk (eg, changing to naming or structure of the API in a 
non-backward-compatible way).
https://github.com/w3c/csswg-drafts/issues/10674


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5328467685801984?gate=6195643460354048


Links to previous Intent discussions
Intent to Prototype: 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOZbSt1dSWUwuFD%2Bu%3DwGXf-ubdgh8K%3D0oj13%3DkrvADSOM41xtw%40mail.gmail.com



This intent message was generated by Chrome Platform Status.

-- 
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 blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/682fba7d.170a0220.2aa17e.152d.GAE%40google.com.

Reply via email to