Skip to content

Commit bb24256

Browse files
committed
[css-grid] Specify that between-track spacing (gutters, alignment) must be suppressed if there's a fragment break.
1 parent 22b3fec commit bb24256

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

css-grid/Overview.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Link Defaults: css21 (property) margin/min-height/max-height/min-width/max-width
2727
At Risk: the ''grid-template-rows/subgrid'' value of 'grid-template-columns' and 'grid-template-rows', and its component parts individually
2828
</pre>
2929

30+
<pre class="link-defaults">
31+
spec:css-break-3; type:dfn; text:fragment
32+
</pre>
33+
3034
<style type="text/css">
3135
.example {
3236
clear:both
@@ -3013,6 +3017,9 @@ Gutters: the 'grid-column-gap', 'grid-row-gap', and 'grid-gap' properties</h3>
30133017
See [[#algo-overview]].
30143018
This space effectively increases the size of the <a>gutters</a>.
30153019

3020+
If a <a>grid</a> is <a>fragmented</a> between tracks,
3021+
the <a>gutter</a> spacing between those tracks must be suppressed.
3022+
30163023
<pre class='propdef'>
30173024
Name: grid-gap
30183025
Value: <<'grid-row-gap'>> <<'grid-column-gap'>>?
@@ -3117,6 +3124,8 @@ Aligning the Grid: the 'justify-content' and 'align-content' properties</h3>
31173124
can cause the tracks to be spaced apart
31183125
(''justify-content/space-around'', ''justify-content/space-between'', ''justify-content/space-evenly'')
31193126
or to be resized (''&lt;content-distribution>/stretch'').
3127+
If the <a>grid</a> is <a>fragmented</a> between tracks,
3128+
any such additional spacing between those tracks must be suppressed.
31203129

31213130
Issue: Add example of fixed size spanner getting extra space from content-distribution.
31223131

0 commit comments

Comments
 (0)