Skip to content

Commit 857af91

Browse files
committed
[css-gaps-1] Specify behavior with collapsed gutters. #11814
1 parent 12c993f commit 857af91

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

css-gaps-1/Overview.bs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@ Layout and painting</h3>
177177
<a>Gap decorations</a> are painted relative to pairs of <a>gap intersection points</a>,
178178
in the center of the corresponding gap and parallel to its edges.
179179

180+
If the positions of one or more gaps coincide exactly due to being [=collapsed gutter|collapsed=],
181+
at most one decoration will be drawn for that set of gaps.
182+
The decoration that is drawn is selected according to the
183+
<a href="https://www.w3.org/TR/CSS2/tables.html#border-conflict-resolution">border conflict resolution</a> rules for tables.
184+
180185
<h3 id="break">
181186
Breaking gap decorations into segments: The 'column-rule-break', 'row-rule-break', and 'rule-break' properties</h3>
182187

@@ -938,3 +943,14 @@ No new privacy considerations have been reported on this specification.
938943
Security Considerations</h2>
939944

940945
No new security considerations have been reported on this specification.
946+
947+
<h2 id="changes">
948+
Changes</h2>
949+
950+
<h3 id="changes-20250417">
951+
Changes since the <a href="https://www.w3.org/TR/2025/WD-css-gaps-1-20250417/">17 April 2025 Working Draft</a></h3>
952+
953+
<ul class="non-normative">
954+
<li>Specified the behavior when gaps are coincident due to track collapsing.
955+
(<a href="https://github.com/w3c/csswg-drafts/issues/11814">Issue 11814</a>)
956+
</ul>

css-grid-2/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4128,7 +4128,7 @@ Gutters: the 'row-gap', 'column-gap', and 'gap' properties</h3>
41284128
(In particular, there is no <a>gutter</a> between the first/last track of the <a>implicit grid</a>
41294129
and the “auto” lines in the <a>augmented grid</a>.)
41304130

4131-
When a <a>collapsed track</a>’s gutters <dfn lt="collapsed gutter">collapse</dfn>,
4131+
When a <a>collapsed track</a>’s gutters <dfn export lt="collapsed gutter">collapse</dfn>,
41324132
they coincide exactly--
41334133
the two gutters overlap so that their start and end edges coincide.
41344134
If one side of a <a>collapsed</a> track does not have a gutter

0 commit comments

Comments
 (0)