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

Yeah, CSSOM exposes the longhands, and changing that doesn't seem reasonable. So implementations should do one of these:
 1. Implement `line-clamp` as a shorthand, exposing the longhands
 2. Implement `line-clamp` as a longhand, to avoid exposing the `max-lines`, etc.

When the spec says

> experimental implementations are encouraged to follow the full behavior defined by this shorthand and its longhands, but to only expose the shorthand to authors

my understanding was that it meant (2).

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10439#issuecomment-2984134362 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 13:05:07 UTC