Add the new `preferred-text-scale` env variable
Nobody has claimed this yet.
- Dominant language
- JSON
- Stars
- 5.8k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 186
Description
What type of issue is this?
Missing compatibility data
What information was incorrect, unhelpful, or incomplete?
See https://chromestatus.com/feature/5328467685801984
And https://drafts.csswg.org/css-env-1/#text-zoom
The preferred-text-scale CSS environment variable exposes a user's preferred font scale to CSS.
This new CSS env variable is shipping in Chromium 138.
What browsers does this problem apply to, if applicable?
Chromium (Chrome, Edge 79+, Opera, Samsung Internet)
What did you expect to see?
New compat data in https://github.com/mdn/browser-compat-data/blob/main/css/types/env.json
Did you test this? If so, how?
N/A
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
No response
MDN URL
No response
MDN metadata
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open css/types/env.json and review how existing CSS environment variables record browser support. Use the Chromium feature and CSSWG links in the issue to add preferred-text-scale compatibility data, with Chromium 138 as the reported shipping version; done means the new entry is represented in that file and matches the dataset's existing structure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100