- From: Florian Rivoal via GitHub <noreply@w3.org>
- Date: Tue, 06 Jan 2026 10:53:13 +0000
- To: public-css-archive@w3.org
> The current prefixed behaviour I don't think we want *quite* that, given that the current prefixed behavior works by setting the height, and by relying on `overflow: hidden` being set as well... I think that what would achieve what you want while staying in overall model we have now would be: * if `max-height` is _larger_ than what you'd get from `max-lines`, keep clamping after max-lines, and don't grow the box further * if `height` is _larger_ than what you'd get from `max-lines`, keep clamping after max-lines, but also grow the box without revealing any additional content * if `height` or `max-height` is _smaller_ than what you'd get from `max-lines`, keep clamping after max-lines, but also shrink the box, and treat any excess content as ink overflow That said, I do think that the ability to say "clamp at the earlier of max-lines and max-height" is useful, and I wonder if the compat constraint we are facing applies to both `height` and `max-height`, or just to `height`. If the later, we could have the compatible behavior for `height`, and the "clamp at the earlier point" for max-height. That would be my preference. -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12041#issuecomment-3714246509 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 6 January 2026 10:53:14 UTC