Skip to content

Commit feb4068

Browse files
authored
[css-gaps-1] Update gap decoration behavior when gaps are coincident due to track collapsing w3c#11814 (w3c#13298)
1 parent 982c100 commit feb4068

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

css-gaps-1/Overview.bs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,10 @@ Layout and painting</h3>
330330
grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-018.html
331331
</wpt>
332332

333-
If the positions of one or more gaps coincide exactly due to being [=collapsed gutter|collapsed=],
334-
at most one decoration will be drawn for that set of gaps.
335-
The decoration that is drawn is selected according to the
336-
<a href="https://www.w3.org/TR/CSS2/tables.html#border-conflict-resolution">border conflict resolution</a> rules for tables.
333+
Gap decorations are [=assigned gap decoration values|assigned=] after [=gutter collapsing|collapsed gutter=] has been applied.
334+
A given set of [=collapsed gutters=] consume exactly one [=gap decoration=]; the next [=gap decoration=]
335+
is applied to the next gutter (or set of [=collapsed gutters=]). Therefore, [=collapsed gutters=] are treated as a
336+
single gutter for decoration purposes.
337337

338338
<!-- Big Text: rule-break
339339

@@ -1685,5 +1685,8 @@ Changes since the <a href="https://www.w3.org/TR/2025/WD-css-gaps-1-20250417/">1
16851685
<a href="https://github.com/w3c/csswg-drafts/issues/12848">Issue 12848</a>,
16861686
<a href="https://github.com/w3c/csswg-drafts/issues/8402">Issue 8402</a>)
16871687
<li>Added a paragraph clarifying that gap decorations are not drawn where gaps are suppressed due to fragment breaks.
1688-
<li>Corrected syntax errors for the inset shorthands.</li>
1688+
<li>Corrected syntax errors for the inset shorthands.
1689+
<li>Updated the behavior for when gaps are coincident due to track collapsing.
1690+
(<a href="https://github.com/w3c/csswg-drafts/issues/11814">Issue 11814</a>)
1691+
16891692
</ul>

0 commit comments

Comments
 (0)