- From: Bramus via GitHub <noreply@w3.org>
- Date: Tue, 14 Apr 2026 16:52:39 +0000
- To: public-css-archive@w3.org
Can’t this clamping be achieved using just CSS?
```html
<meta name="text-scale" content="scale">
<style>
:root {
font-size: min(100%, 64px); /* 64px at most */
}
/* Rest of the CSS using em, rem, etc. lengths */
</style>
```
--
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13557#issuecomment-4245600316 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 14 April 2026 16:52:39 UTC