Re: [csswg-drafts] [css-overflow-4] Syntax to opt into clamping at the earlier of a size and a number of line (#13670)

> Even if we're not changing `-webkit-line-clamp`, would `continue: -webkit-legacy auto` be a valid value? What about `line-clamp: 3 auto -webkit-line-clamp`?

I don't care strongly either way. I'd probably say no, and have the longhand be `continue: normal | discard | [collapse && auto?] | -webkit-legacy`, but I wouldn't be opposed if you wanted to do `continue: normal | discard | [[collapse | -webkit-legacy ] && auto?]` instead. I just don't see need.

> > * if `auto` is set in the shorthand, that sets `continue` to `collapse auto`
> 
> This doesn't actually match the examples in the table, they have `continue: collapse auto` if there's no integer in the shorthand, regardless of whether the `auto` keyword appears.

Fair, I guess this description is correct but incomplete. I meant that `continue` is set to `collapse auto` if either there's `auto` in the shorthand or if there is no integer in the shorthand (or both).

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


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

Received on Thursday, 2 April 2026 16:23:07 UTC