Re: [csswg-drafts] [css-fonts-5] Feature for making text always fit the width of its parent (#2528)

@patrickhlauke yes, it’s absolutely a failure (for accessibility and for design generally) to use viewport units as the _only_ component in sizing text. Current usage as I understand it has vw as a small _extra_ component (like `font-size: calc(1em + .2vh)`) that allows for some fluidity but still lets you zoom in to resize the text. I know that having an upper clamping bound has its own issues, but do you see problems with using a viewport unit component as a small tweak to font-size?

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


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

Received on Tuesday, 8 April 2025 04:15:05 UTC