Skip to content

CSS Gap Decorations #444

Closed
Closed

Description

@kbabbitt

WebKittens

No response

Title of the proposal

CSS Gap Decorations

URL to the spec

https://drafts.csswg.org/css-gaps-1/

URL to the spec's repository

No response

Issue Tracker URL

No response

Explainer URL

https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/CSSGapDecorations/explainer.md

TAG Design Review URL

w3ctag/design-reviews#1035

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:

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.

Activity

  1. added
    topic: css
    from: Microsoft
    on Mar 5, 2025
  2. oSamDavis commented on Apr 22, 2026

    @oSamDavis

    We're close to shipping this feature in Blink. Requesting Webkit's position. cc:  @fantasai

  3. fantasai commented on Sep 16, 2026

    @fantasai

    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.

  4. bkardell commented on Sep 29, 2026

    @bkardell
    Collaborator

    Propose to label as Support in 1 week, with that caveat noted, if there are no objections.

    More than 1 week has passed with no objections - labelling and closing as suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    from: Microsoftposition: supporttopic: cssvenue: W3C CSS WG

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions