Re: [csswg-drafts] [css-overflow-4] overflow-clip-margin longhands (#8381)

Analogous for `overflow-clip-margin-inline` and `overflow-clip-margin-block` (with 2 values instead of 4).

I suspect that in most cases authors will want to use the same box. That's more tedious to write with the 1st option (and there is the risk of authors writing it only once and assuming it will be used for all sides), and it's not possible with the 3rd option (if the lengths are different).

A 4th option could be `<visual-box>{1,4} || <length [0,∞]>{1,4}`, which would allow all possible values without having to repeat common ones. But it may be confusing if the values for a given side don't appear next to each other.

Or we could just leave the shorthands as `<visual-box> || <length [0,∞]>` for now, authors can use longhands if they want something more customized. The grammar can always be extended in the future.

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


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

Received on Thursday, 2 February 2023 16:13:29 UTC