- From: Andreu Botella via GitHub <sysbot+gh@w3.org>
- Date: Wed, 28 May 2025 17:01:59 +0000
- To: public-css-archive@w3.org
So we have two questions to solve here: - Should `-webkit-line-clamp`, which was previously behaving like a longhand in `getComputedStyle()`, switch to behaving like a shorthand? It has been shipping for long (in Webkit since 2009) as a longhand, but there's no evidence that this is relied on. From the conversation above, the answer seems to be yes. - Should `line-clamp` behave like a shorthand, given that it's currently specified as a shorthand even though its longhands shouldn't be exposed, since the plan is to expose them in the future. The answer would probably be yes, to avoid a future web compat situation, but it raises the issue that the state of `getComputedStyle().lineClamp` would not be able to be computed based on the `CSSStyleDeclaration`'s declarations, since those wouldn't include the longhands. Is this okay? I'd like to hear some answers to both of these questions, to hopefully make this an async resolution. -- GitHub Notification of comment by andreubotella Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10439#issuecomment-2917024770 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 28 May 2025 17:02:00 UTC