Skip to content

Chrome added preferred-text-scale env / text-scale meta#29453

Merged
chrisdavidmills merged 3 commits intomdn:mainfrom
chrisdavidmills:text-font-scale-features
Apr 13, 2026
Merged

Chrome added preferred-text-scale env / text-scale meta#29453
chrisdavidmills merged 3 commits intomdn:mainfrom
chrisdavidmills:text-font-scale-features

Conversation

@chrisdavidmills
Copy link
Copy Markdown
Contributor

Summary

Chrome has added support for two features that allow sites to size fonts in proportion to the operating system/browser text scale settings:

  • The <meta name="text-scale" content="..." /> element, which was added in Chrome 146, and works across Desktop and Mobile platforms. See https://chromestatus.com/feature/5112244702674944. As far as I can tell, this has full support, but that support varies depending on the text sizing functionality available in OS/browser combination being used. I'm intending to document these in as much detail as possible in the content update.
  • The preferred-text-scale env() variable, which was added in Chrome 138. This allegedly works only in Android, but it also seems to have somewhat of an effect in Chrome desktop, which I am still investigating, and wish to write up in the content. As a result, I've listed it as supported on desktop too.

Test results and supporting details

Related issues

@github-actions github-actions Bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:m [PR only] 25-100 LoC changed labels Apr 10, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 10, 2026

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@caugner caugner changed the title Chrome text-scale meta and preferred-text-scale env Chrome added preferred-text-scale env / text-scale meta Apr 10, 2026
Comment thread css/types/env.json
Comment thread html/elements/meta.json
chrisdavidmills and others added 2 commits April 13, 2026 13:24
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
@chrisdavidmills chrisdavidmills merged commit d64e16e into mdn:main Apr 13, 2026
9 checks passed
@mdn-bot mdn-bot mentioned this pull request Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:m [PR only] 25-100 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants