[csswg-drafts] Pull Request: [css-overflow-4] Don't clamp by height with `line-clamp: <integer>`

andreubotella has just labeled a pull request from andreubotella for https://github.com/w3c/csswg-drafts as "topic: line-clamp":

== [css-overflow-4] Don't clamp by height with `line-clamp: <integer>` ==
As per the latest resolution on #12041, `line-clamp: <integer>` cannot clamp by both lines and height due to web compat issues with its prefixed `-webkit-line-clamp` alias. The behavior of clamping by lines and height, whichever comes earlier, is still wanted; but it needs an opt-in syntax that has not been decided yet.

Since neither the syntax of this behavior on the `line-clamp` shorthand, nor its mapping into its longhands, are yet clear, this PR disables this behavior –clamping only by the auto clamp point when `max-lines: none`, and only by the line-based clamp point otherwise– while adding an issue marker.

This change also moves the definition of "line-based clamp point" to the `max-lines` section.

See https://github.com/w3c/csswg-drafts/pull/13532


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

Received on Thursday, 19 February 2026 02:24:23 UTC