Skip to content

Commit 47979e6

Browse files
committed
[css-grid] Fix some grid-gap minor errors.
1 parent 058289a commit 47979e6

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

css-grid/Overview.bs

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2934,31 +2934,33 @@ Gutters: the 'grid-column-gap', 'grid-row-gap', and 'grid-gap' properties</h3>
29342934
Inherited: no
29352935
Percentages: n/a
29362936
Media: visual
2937-
Computed value: specified value
2937+
Computed value: absolute <<length>>
2938+
Animatable: as <<length>>
29382939
</pre>
29392940

29402941
These properties specify the <dfn lt=gutter>gutters</dfn> between
29412942
<a>grid rows</a> and <a>grid columns</a>, respectively.
29422943
The effect is as though the affected <a>grid lines</a> acquired width:
29432944
the <a>grid track</a> between two <a>grid lines</a>
2944-
is the space between the <i>gutters</i> that represent them.
2945+
is the space between the <a>gutters</a> that represent them.
29452946
For the purpose of <a href="#algo-track-sizing">track sizing</a>,
2946-
each <i>gutter</i> is essentially treated as an extra track of the specified length.
2947+
each <a>gutter</a> is essentially treated as an extra track of the specified length.
2948+
Negative values are invalid.
29472949

29482950
Note: Additional spacing may be added between tracks
29492951
due to 'justify-content'/'align-content'.
29502952
See [[#algo-overview]].
2951-
This space effectively increases the size of the <i>gutters</i>.
2953+
This space effectively increases the size of the <a>gutters</a>.
29522954

29532955
<pre class='propdef'>
29542956
Name: grid-gap
29552957
Value: <<'grid-column-gap'>> <<'grid-row-gap'>>?
2956-
Initial: normal
2957-
Applies to: <a>grid containers</a>
2958-
Inherited: no
2959-
Percentages: n/a
2960-
Media: visual
2961-
Computed value: specified value
2958+
Initial: see individual properties
2959+
Applies to: see individual properties
2960+
Inherited: see individual properties
2961+
Percentages: see individual properties
2962+
Media: see individual properties
2963+
Computed value: see individual properties
29622964
</pre>
29632965

29642966
This property is a <a>shorthand</a> that sets 'grid-column-gap' and 'grid-row-gap' in one declaration.

0 commit comments

Comments
 (0)