Re: [csswg-drafts] [css-overflow-4] line-clamp `max-lines` - support `auto` value to fit container (#9368)

Also, one may consider `line-clamp: none` to be ambiguous, now that you can declare a value for `block-ellipsis` without the leading integer for `max-lines`. `a` can match both branches of `a | b? a`.

So I would like to suggest either: 
- `none | [ <integer [1,∞]>? [ auto | <string> ]? ]!`
- `none | [ <'max-lines'>? <'block-ellipsis'>? ]?` with a prose to disallow `none` in `<<'max-lines'>>` and `<<'block-ellipsis'>>`

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


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

Received on Tuesday, 23 January 2024 10:37:14 UTC