Repository navigation
Closed
Labels
from: MicrosoftProposed, edited, or co-edited by Microsoft.position: supporttopic: cssSpec relates to CSS (Cascading Style Sheets)venue: W3C CSS WG
Description
WebKittens
No response
Title of the proposal
CSS Gap Decorations
URL to the spec
URL to the spec's repository
No response
Issue Tracker URL
No response
Explainer URL
TAG Design Review URL
Mozilla standards-positions issue URL
mozilla/standards-positions#1158
WebKit Bugzilla URL
No response
Radar URL
No response
Description
CSS multi-column containers allow for rules to be drawn between columns. Applying similar styling to other container layouts such as grid and flex has been widely sought after, as seen in the discussion for CSS Working Group issue #2748 and in several StackOverflow questions ( [1] [2] [3] [4] ). Currently, developers seeking to draw such decorations must resort to non-ergonomic workarounds such as these examples:
- https://www.smashingmagazine.com/2017/09/css-grid-gotchas-stumbling-blocks/#how-do-i-add-backgrounds-and-borders-to-grid-areas
- https://x.com/geddski/status/1004731709764534274
This proposal seeks to:
- Extend CSS column rule properties to apply to container layout types beyond multi-column.
- Introduce row-direction gap decorations on CSS container layouts.
- Allow gap decorations to vary over a given container to handle cases such as alternating row separators.
Reacted by Benjamin Kindle, Dardan Bujupaj, Sebastian Zartner, Nilesh Prajapati, Jared White, Yisi and Oliver Williams
Metadata
Metadata
Assignees
Labels
from: MicrosoftProposed, edited, or co-edited by Microsoft.position: supporttopic: cssSpec relates to CSS (Cascading Style Sheets)venue: W3C CSS WG
Activity
oSamDavis commentedon Apr 22, 2026
We're close to shipping this feature in Blink. Requesting Webkit's position. cc: @fantasai
fantasai commentedon Sep 16, 2026
We think this spec is well done, and thoroughly considered, and effectively worked through with the CSSWG. We have some hesitation about the repeating styles feature, since it's not clear that the main use case here is about creating visual patterns but rather identifying semantic distinctions such as headers from other parts of the grid--and it's not clear that a pattern syntax is the best way to do that. But aside from that aspect, we'd like to express support, and would have no hesitation in accepting the non-repeating subset of this spec into WebKit.
Propose to label as Support in 1 week, with that caveat noted, if there are no objections.
bkardell commentedon Sep 29, 2026
More than 1 week has passed with no objections - labelling and closing as suggested.