Skip to content

Commit c2e2563

Browse files
oSamDavisSam Davis Omekara (from Dev Box)kbabbitt
authored
[css-gaps-1] Add spec text for assigning gap decorations to suppressed gaps for fragmentation #13754 (#13850)
* init * nit add to changes section * move to assignment * Update css-gaps-1/Overview.bs Co-authored-by: Kevin Babbitt <kbabbitt@microsoft.com> --------- Co-authored-by: Sam Davis Omekara (from Dev Box) <samomekarajr@microsoft.com> Co-authored-by: Kevin Babbitt <kbabbitt@microsoft.com>
1 parent 41740e3 commit c2e2563

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

css-gaps-1/Overview.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,6 +1811,11 @@ Assigning gap decoration values to gaps</h3>
18111811
is applied to the next gutter (or set of [=collapsed gutters=]). Therefore, [=collapsed gutters=] are treated as a
18121812
single [=gap=] for decoration purposes.
18131813

1814+
A gap that is suppressed due to <a href="#fragmentation">fragmentation</a>
1815+
still consumes a gap decoration value from the pattern, even though no decoration
1816+
is drawn there. This preserves a consistent association between gaps and decorations across
1817+
fragmented and unfragmented contexts.
1818+
18141819
<div algorithm>
18151820
To <dfn>assign gap decoration values</dfn> to a list of |gaps| using a list of |values|:
18161821

@@ -2347,6 +2352,8 @@ Changes since the <a href="https://www.w3.org/TR/2026/WD-css-gaps-1-20260227/">2
23472352
(<a href="https://github.com/w3c/csswg-drafts/issues/13648">Issue 13648</a>,
23482353
<a href="https://github.com/w3c/csswg-drafts/issues/13649">Issue 13649</a>)
23492354
<li>Updated with links to additional WPTs.
2355+
<li>Clarified that gaps suppressed due to fragmentation still consume gap decoration values.
2356+
(<a href="https://github.com/w3c/csswg-drafts/issues/13754">Issue 13754</a>)
23502357
</ul>
23512358

23522359
<h3 id="changes-20250417">

0 commit comments

Comments
 (0)