Contact emails
Explainer
Specification
Summary
CSS Gap Decoration enables styling of gaps in container layouts like Grid and Flexbox, similar to ‘column-rule’ in multicol layout. This feature is highly requested by web authors who must use hacks to style the gaps in Grid and Flexbox layouts today.
Blink component
Blink>Layout
Motivation
Today, web authors rely on non-ergonomic workarounds such as the following examples to apply styles to the gaps in Grid and Flexbox layouts:
CSS Gap Decoration will allow authors to avoid such workarounds and apply styles in a seamless manner provided by the platform.
Initial public proposal
Search tags
grid, flexbox, multicol, column, row, gap, decoration
TAG review
TAG review will be started once the specification is further along.
TAG review status
Pending
Risks
Interoperability and Compatibility
Gap Decoration is a highly requested feature among web developers. Early discussions within the CSSWG meeting did not highlight any major concerns from other browser vendors so far. See discussions on:
Proposal: CSS Gap Decorations Level 1 ·
Issue #10393 ·
w3c/csswg-drafts · GitHub
No other browser vendor has started work to implement CSS Gap Decoration as we know of yet, but as the feature and specification are further along, formal signals will be sent out to such vendors.
Gecko: No signal
WebKit: No signal
Web developers: Positive
Other signals:
WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
Debuggability
DevTools already provides a layout overlay for gaps in Grid and Flexboxes. Computed values for new properties introduced for gap decoration will be exposed.
Is this feature fully tested by web-platform-tests?
No
Web Platform Tests will be added as part of the API feature development.
Flag name on chrome://flags
None
Finch feature name
CSSGapDecoration
Non-finch justification
None
Requires code in //chrome?
False
Tracking bug
Estimated milestones
No milestones specified
Link to entry on the Chrome Platform Status