- From: Andreu Botella via GitHub <noreply@w3.org>
- Date: Thu, 19 Feb 2026 02:24:21 +0000
- To: public-css-archive@w3.org
andreubotella has just submitted a new pull request for https://github.com/w3c/csswg-drafts: == [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