Re: [csswg-drafts] [css-gaps-1] Grammar for expanded column-rule shorthand (#11496)

>```css
> .grid {
>   gap-rule-areas: --foo 1/2/3/4, --bar 5/6/7/8;
>   gap-rule: 1px solid red, 2px dashed silver --foo, 2px dashed gray --foo;
> }
> ```

>```css
> .grid {
>   gap-rule: 1px solid red, 2px solid red [2/2/4/4] 2px dashed silver, 2px dashed gray
> }
> ```

I like the idea behind both of these suggestions: Use the "which area it applies to" notation in some way to distinguish between different gap decoration areas in shorthands. I think these two suggestions are enough to convince me that option 3 from my original post is viable, and probably what we want:

> 3. Commas, because that would be consistent with other contexts such as backgrounds, borders, transitions, and animations, and we can figure out an alternative for gap decoration areas later

Agenda+ to resolve on that.

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


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

Received on Friday, 21 February 2025 18:25:50 UTC