Skip to content

Commit 7049447

Browse files
committed
[css-grid] Remove stray references to grid-gap. Fixes w3c#1785.
1 parent 8938e76 commit 7049447

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

css-grid/Overview.bs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Abstract: This CSS module defines a two-dimensional grid-based layout system, op
2626
Ignored Terms: containing block, <positive-integer>, <ident>, auto, grid-*-start, grid-*-end, flex factor, flex factors, block formatting context, grid-auto-position, min size property, max size property
2727
Ignored Vars: A, B, C, size-contribution, track-sizes, extra-space
2828
Link Defaults: css21 (property) margin/min-height/max-height/min-width/max-width, css-align-3 (value) stretch/baseline, css-position-3 (property) left, css-position-3 (property) position, css-writing-modes-3 (dfn) start/end
29-
At Risk: the <<percentage>> value in 'grid-row-gap'/'grid-column-gap' (low priority)
3029
At Risk: application of grid placement to absolutely-positioned boxes
3130
</pre>
3231

@@ -1512,7 +1511,7 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
15121511
</div>
15131512

15141513
Note: The size of the grid is not purely the sum of the track sizes,
1515-
as 'grid-row-gap', 'grid-column-gap' and 'justify-content', 'align-content'
1514+
as 'row-gap', 'column-gap' and 'justify-content', 'align-content'
15161515
can add additional space between tracks.
15171516

15181517
<!--
@@ -1638,7 +1637,7 @@ Repeat-to-fill: ''auto-fill'' and ''auto-fit'' repetitions</h5>
16381637
that does not cause the <a>grid</a> to overflow its <a>grid container</a>
16391638
(treating each track as its <a>max track sizing function</a> if that is <a>definite</a>
16401639
or as its minimum track sizing function otherwise,
1641-
and taking 'grid-gap' into account);
1640+
and taking 'gap' into account);
16421641
if any number of repetitions would overflow,
16431642
then 1 repetition.
16441643
Otherwise, if the <a>grid container</a> has a <a>definite</a> min size in the relevant axis,
@@ -3372,7 +3371,7 @@ Aligning the Grid: the 'justify-content' and 'align-content' properties</h3>
33723371
display: grid;
33733372
/* 3-row / 4-column grid container */
33743373
grid: repeat(3, auto) / repeat(4, auto);
3375-
grid-gap: 10px;
3374+
gap: 10px;
33763375
align-content: space-around;
33773376
justify-content: space-between;
33783377
}
@@ -3396,7 +3395,7 @@ Aligning the Grid: the 'justify-content' and 'align-content' properties</h3>
33963395
<figcaption>Grid after alignment</figure>
33973396
</figure>
33983397

3399-
Note that alignment (unlike 'grid-gap' spacing)
3398+
Note that alignment (unlike 'gap' spacing)
34003399
happens after the grid tracks are sized,
34013400
so if the track sizes are determined by the contents of the spanned item,
34023401
it will gain excess space in the alignment stage

0 commit comments

Comments
 (0)