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

> > 3\. rename `none` from `max-lines` to something else. Downside: that's a pretty good name for what it does, not sure what else would work.
> 
> In isolation, I think a better keyword would be `auto` (since the value of `max-lines` is ignored if we're not clamping, and when it's set to `none` it clamps to however many lines will fit on the line-clamp container). But in the shorthand that would also be ambiguous with `block-ellipsis: auto`.

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.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12416#issuecomment-3206199984 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:48:39 UTC