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

@astearns 

> 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?

I'm not Pat, but jumping in here because I have been begging authors not to use viewport units, `min()`, `max()`, or `clamp()` for type since 2019. My experience is that using viewport units as _strictly_ additive (as your example) is not an issue.

It's also my experience that approach doesn't satisfy what many authors want by folding in viewport units. And so that's not how I see authors use viewport units in the wild (or developer blogs and sites).

So I am only jumping in to this thread to ask that we don't dismiss the risk of viewport units by framing some of their uses as "small tweaks" without better defining what that means.

-- 
GitHub Notification of comment by aardrian
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2528#issuecomment-2786307943 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 12:40:32 UTC