[csswg-drafts] [css-overflow-4] Syntax to opt into clamping at the earlier of a size and a number of line (#13670)

frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow-4] Syntax to opt into clamping at the earlier of a size and a number of line ==
In https://github.com/w3c/csswg-drafts/issues/12041, we decided that if you set both a `max-line` and an `height` or a `max-height`, only the number of lines affects clamping (and (`max-`)`height` affects the height, normally, but without changing what content gets clamped.

This was primarily driven by compat needs. We also said it'd be good to have an opt-in to clamp to the earlier of the (max-)height and the specified number of line, we just need to find syntax for it. This issue is for discussing that.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13670 using your GitHub account


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

Received on Tuesday, 17 March 2026 06:39:11 UTC