Re: [csswg-drafts] [css-overflow] Can you line-clamp by both a number of lines and a height at the same time? (#12041)

I would support the ability of both working at the same time. The ability to say "up to 5 lines, or 100px, whichever is smaller" seems useful. You may also be constraining the height through grid layout or what not. Here too, it seems that as long as you've turned clamping on, if you'd end up overflowing in the block direction, it's better to clamp a little earlier, rather that to overflow and then clamp somewhere down in the overflow.

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


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

Received on Friday, 6 June 2025 03:24:49 UTC