Skip to content

Commit fe23bff

Browse files
committed
[css-grid-1] Move auto higher in the list, because we do want people to reach for it first, before trying min-content/max-content. Move minmax() also so descriptions depending on it make more sense. #3571
1 parent 17c9ad1 commit fe23bff

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

css-grid-1/Overview.bs

+10-10
Original file line numberDiff line numberDiff line change
@@ -1459,16 +1459,6 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
14591459
When appearing outside a ''minmax()'' notation,
14601460
implies an automatic minimum (i.e. ''minmax(auto, <<flex>>)'').
14611461

1462-
<dt><dfn>max-content</dfn>
1463-
<dd>
1464-
Represents the largest <a>max-content contribution</a>
1465-
of the <a>grid items</a> occupying the <a>grid track</a>.
1466-
1467-
<dt><dfn>min-content</dfn>
1468-
<dd>
1469-
Represents the largest <a>min-content contribution</a>
1470-
of the <a>grid items</a> occupying the <a>grid track</a>.
1471-
14721462
<dt><dfn lt="minmax()">minmax(<var>min</var>, <var>max</var>)</dfn>
14731463
<dd>
14741464
Defines a size range
@@ -1505,6 +1495,16 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
15051495
(This behaves similar to ''minmax(min-content, max-content)'' in the most basic cases,
15061496
but with extra abilities.)
15071497

1498+
<dt><dfn>max-content</dfn>
1499+
<dd>
1500+
Represents the largest <a>max-content contribution</a>
1501+
of the <a>grid items</a> occupying the <a>grid track</a>.
1502+
1503+
<dt><dfn>min-content</dfn>
1504+
<dd>
1505+
Represents the largest <a>min-content contribution</a>
1506+
of the <a>grid items</a> occupying the <a>grid track</a>.
1507+
15081508
<dt><dfn lt="fit-content()">fit-content( <<length-percentage>> )</dfn>
15091509
<dd>
15101510
Represents the formula

0 commit comments

Comments
 (0)