Skip to content

Commit de2577c

Browse files
committed
[css-grid] Swap min()/max() to be correct. Fixes w3c#4789.
1 parent d7273b3 commit de2577c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-grid-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,7 @@ Track Sizes</h4>
15551555
<dt><dfn lt="fit-content()">fit-content( <<length-percentage>> )</dfn>
15561556
<dd>
15571557
Represents the formula
1558-
<code>min(<var>minimum</var>, max(<var>limit</var>, ''max-content''))</code>,
1558+
<code>max(<var>minimum</var>, min(<var>limit</var>, ''max-content''))</code>,
15591559
where <var>minimum</var> represents an ''grid-template-columns/auto'' minimum
15601560
(which is often, but not always, equal to a ''min-content'' minimum),
15611561
and <var>limit</var> is the <a>track sizing function</a>

0 commit comments

Comments
 (0)