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

I found this issue while looking for discussions to figure out how to serialize `column-rule` after declaring `column-rule-width: repeat(auto, 1px 1px)`, because `column-rule-width` is defined with `repeat(auto, <line-width>+)` whereas `column-rule` is defined with `repeat(auto, [<line-width> || <line-style> || <color>]#)`.

Anyway, I thought something like `[<rule-area>]` may be used as a separator:

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

This would define a single "general" gap rule alternating between `1px solid red` and `2px solid red`, and a gap rule targeting the area `2/2/4/4` alternating between `2px dashed silver` and `2px dashed gray`.

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


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

Received on Tuesday, 4 February 2025 13:38:29 UTC