- From: Ian Kilpatrick via GitHub <noreply@w3.org>
- Date: Mon, 15 Dec 2025 19:26:30 +0000
- To: public-css-archive@w3.org
Reopening this due to high use-count with the existing feature (~4% of page loads, on a large variety of sites). Andreu added a use-counter for this case - and its very high for existing content. Basically a lot of sites will use `line-clamp: 2; font-size: 24px; height: 48px;` (or similar), and due to fonts ascent/descent being large it'll overflow the container. IMO web a web-developer has asked to clamp by lines, we should *only* honor that, and ignore the height constraint. This would mitigate the compat concern (which exists even for the un-prefixed variant of this feature due to auto-prefixers), and match web-developer expectations closer. IMO its would be very difficult to explain to a web-developer what is occuring in this cause if they get clamped at one line, when they explicitly asked for 2. We shoudn't diverge the behaviour of the prefixed, and unprefixed variant of this feature unless we have a *very* good reason to do so - as it'll just cause developer confusion. Agenda+ to change resolution to only clamping by lines in this situation. Ian -- GitHub Notification of comment by bfgeek Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12041#issuecomment-3657239729 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 15 December 2025 19:26:31 UTC