Skip to content

Commit 28887f0

Browse files
committed
[css-grid] Replaced <length> | <percentage> by <length-percentage>
1 parent 57113f5 commit 28887f0

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

css-grid/Overview.bs

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,24 +1330,21 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
13301330
[ <<line-names>>? [ <<fixed-size>> | <<fixed-repeat>> ] ]* <<line-names>>?
13311331
<dfn>&lt;explicit-track-list></dfn> = [ <<line-names>>? <<track-size>> ]+ <<line-names>>?
13321332
1333-
<dfn>&lt;track-size></dfn> = <<track-breadth>> | minmax( <<inflexible-breadth>> , <<track-breadth>> ) | fit-content( [ <<length>> | <<percentage>> ] )
1333+
<dfn>&lt;track-size></dfn> = <<track-breadth>> | minmax( <<inflexible-breadth>> , <<track-breadth>> ) | fit-content( <<length-percentage>> )
13341334
<dfn>&lt;fixed-size></dfn> = <<fixed-breadth>> | minmax( <<fixed-breadth>> , <<track-breadth>> ) | minmax( <<inflexible-breadth>> , <<fixed-breadth>> )
1335-
<dfn>&lt;track-breadth></dfn> = <<length>> | <<percentage>> | <<flex>> | min-content | max-content | auto
1336-
<dfn>&lt;inflexible-breadth></dfn> = <<length>> | <<percentage>> | min-content | max-content | auto
1337-
<dfn>&lt;fixed-breadth></dfn> = <<length>> | <<percentage>>
1335+
<dfn>&lt;track-breadth></dfn> = <<length-percentage>> | <<flex>> | min-content | max-content | auto
1336+
<dfn>&lt;inflexible-breadth></dfn> = <<length-percentage>> | min-content | max-content | auto
1337+
<dfn>&lt;fixed-breadth></dfn> = <<length-percentage>>
13381338
<dfn>&lt;line-names></dfn> = '[' <<custom-ident>>* ']'
13391339
</pre>
13401340

13411341
Where:
13421342

13431343
<dl dfn-for="grid-template-columns, grid-template-rows" dfn-type=value>
1344-
<dt><dfn><<length>></dfn>
1344+
<dt><dfn><<length-percentage>></dfn>
13451345
<dd>
1346-
A non-negative length, as defined by CSS3 Values. [[!CSS3VAL]]
1346+
A non-negative length or percentage, as defined by CSS3 Values. [[!CSS3VAL]]
13471347

1348-
<dt><dfn><<percentage>></dfn>
1349-
<dd>
1350-
A non-negative percentage, as defined by CSS3 Values. [[!CSS3VAL]]
13511348
<<percentage>> values are relative to the <a>inline size</a> of the <a>grid container</a> in column <a>grid tracks</a>,
13521349
and the <a>block size</a> of the <a>grid container</a> in row <a>grid tracks</a>.
13531350
If the size of the <a>grid container</a>
@@ -1400,7 +1397,7 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
14001397
Note: ''grid-template-rows/auto'' track sizes (and only ''grid-template-rows/auto'' track sizes)
14011398
can be streched by the 'align-content' and 'justify-content' properties.
14021399

1403-
<dt><dfn lt="fit-content()">fit-content( [ <<length>> | <<percentage>> ] )</dfn>
1400+
<dt><dfn lt="fit-content()">fit-content( <<length-percentage>> )</dfn>
14041401
<dd>
14051402
Represents the formula
14061403
<code>min(''max-content'', max(''auto'', <var>argument</var>))</code>,
@@ -3330,7 +3327,7 @@ Gutters: the 'grid-column-gap', 'grid-row-gap', and 'grid-gap' properties</h3>
33303327

33313328
<pre class='propdef'>
33323329
Name: grid-row-gap, grid-column-gap
3333-
Value: <<length>> | <<percentage>>
3330+
Value: <<length-percentage>>
33343331
Initial: 0
33353332
Applies to: <a>grid containers</a>
33363333
Inherited: no

0 commit comments

Comments
 (0)