Re: [csswg-drafts] [css-fonts-5] Text Fitting: Default scaling limit (#12886)

I discussed offline with @tkent-google and @bfgeek, and reviewed the WCAG doc @aardrian linked to. I think it can be resolved with the following spec text:

_User agents should ensure that regardless of browser zoom level, the resulting computed font size in CSS pixels for fit-width text should be sized to max(sizing computed at 100% browser zoom, sizing to fit the new container size at the desired zoom)_

User agents can compute this as part of layout.

Following this text would mean that if the text sizing computed by `text-grow` etc at a 100% zoom value ended up being `N` CSS pixels, then at (say) 400% zoom, the computed style would still be at least `N` CSS pixels and therefore the size drawn for the user would be at least `4 * N` device pixels, thus satisfying WCAG requirements.



-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12886#issuecomment-3647388631 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 12 December 2025 17:02:52 UTC