Re: [csswg-drafts] [css-overflow-4] `line-clamp` shorthand syntax is ambiguous (#12416)

> I could imagine this to be renamed to `unlimited`. If we go went with `auto`, we'd need to change the shorthand syntax to avoid values for `max-lines` and `block-ellipsis` clashing.

I don't think the `auto` keywords for `max-lines` and `block-ellipsis` actually clash, because the right branch of `line-clamp` sets both to `auto` by default. `line-clamp: auto` maps to the same longhand values no matter which of the two properties it maps to, and `line-clamp: auto 3` and `line-clamp: auto "… (continued)"` are unambiguous.

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


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

Received on Wednesday, 20 August 2025 12:53:26 UTC