Re: [csswg-drafts] [css-overflow-4] How do `-webkit-line-clamp` and `line-clamp` interact when both are specified? (#10439)

@frivoal how would you envision this to work if `line-clamp` _and_ `-webkit-line-clamp` are expected both to be shorthands, but none of its longhands are exposed? I don't think that's reasonable.

The right interim situation, IMO, is making `line-clamp` a longhand. `-webkit-line-clamp` will be a shorthand for `line-clamp`. When we're ready to expose the different shorthands, we can turn `line-clamp` into a shorthand of those properties. Otherwise the OM is inconsistent, I don't think there's a concept for "shorthand of unspecified longhands", and I'd rather not invent that, since it would effectively be just a longhand.

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10439#issuecomment-2983777239 using your GitHub account


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

Received on Wednesday, 18 June 2025 11:16:50 UTC