Contact emailsdgro...@chromium.org

ExplainerNone yet. An example usage is <p style="text-size-adjust:
calc(100% * env(preferred-text-scale));">

Specificationhttps://github.com/w3c/csswg-drafts/issues/10674

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 panel. This CSS environment
variable will reflect the scale chosen by the user.


Blink componentBlink>Accessibility
<https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EAccessibility%22>

Motivation

Without this API, pages cannot practically honor the user's OS-level
font-size preference. Today, if you change the Android system-level font
slider and browse the web you'll see that <10% of sites honor that slider.
The minority that do change font sizes have mostly stumbled into a very old
UA intervention that boosts font sizes on mobile.


Initial public proposalhttps://github.com/w3c/csswg-drafts/issues/10674

TAG reviewNone

TAG review statusPending

Risks


Interoperability and Compatibility

None


*Gecko*: No signal

*WebKit*: No signal

*Web developers*: No signals

*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

None


Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?No -- We use a UA-specific internals API to simulate changing the OS-level
font scale

Flag name on about://flagsNone

Finch feature nameNone

Non-finch justificationNone

Requires code in //chrome?False

Tracking bughttps://crbug.com/397737223

Estimated milestones

No milestones specified


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

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 blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOZbSt1dSWUwuFD%2Bu%3DwGXf-ubdgh8K%3D0oj13%3DkrvADSOM41xtw%40mail.gmail.com.

Reply via email to