Re: [csswg-drafts] [css-sizing] How to shrink to fit the width? (#191)

Just want to drop here that this is something I also always wanted.

One thing I want to add — when looking and playing with `text-wrap: balance`, I think what it does/needs to do can be tightly related to this, and maybe if this was to move forward, we could start with the implementation that could have a similar restriction of the “number of lines” that would be checked?

This way, it won't be super perf intensive for more complex cases, but would be simple enough to handle for most of the cases where you'd want it (usually the more there is content, the more likely it would take the full width when wrapping).

Related issues: https://github.com/w3c/csswg-drafts/issues/8516 and https://github.com/w3c/csswg-drafts/issues/3070, as I think this one and those two have the similarities in the possible limitations.

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


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

Received on Friday, 3 March 2023 15:52:46 UTC