- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 Feb 2023 06:52:36 +0000
- To: public-css-archive@w3.org
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-overflow-4] overflow-clip-margin longhands ==
In https://github.com/w3c/csswg-drafts/issues/7245 we resolved to add the full set of longhands to `overflow-clip-margin`, but didn't resolve on what we want the shorthand syntax to look like. As a reminder, the current syntax looks like this:
```
overflow-clip-margin*: <visual-box> || <length [0,∞]>
```
Since the keyword and length are reorderable and each is optional, we can't simply quadruple the single-value syntax as it would be ambiguous. Possible options are:
* Use a different delimiter, e.g. /, as we did in the grid properties.
* Allow for {1,4} on length but not keyword: `<visual-box> || <length [0,∞]>{1,4}`
* Allow for {1,4} on keyword but not length: `<visual-box>{1,4} || <length [0,∞]>`
The middle option gives us syntax that's closest to `margin` so my suggestion would be to take that. But that does mean some combinations of longhands are not representable in the shorthand.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8381 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 1 February 2023 06:54:23 UTC