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

> I want us to return to this issue — we now have `inline-size` containment, which could be used to solve the potential issues regarding the circularity.

I started a Codepen example to help solve this: https://codepen.io/nathanchase/pen/rNKqYoX

Could we somehow utilize `ch` or `ic` units inside a `calc()`, and then clamp the font-size based on the container inline-size?



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


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

Received on Wednesday, 15 November 2023 16:21:05 UTC