Skip to content

Commit 75c72c5

Browse files
committed
[css-grid-1] Floor intrinsic track size calculations at zero. w3c#2655
1 parent 4e29e0e commit 75c72c5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

css-grid-1/Overview.bs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3850,13 +3850,15 @@ Resolve Intrinsic Track Sizes</h3>
38503850
<dd>
38513851
If the track has a ''min-content'' <a>min track sizing function</a>,
38523852
set its <a>base size</a>
3853-
to the maximum of the items’ <a>min-content contributions</a>.
3853+
to the maximum of the items’ <a>min-content contributions</a>,
3854+
floored at zero.
38543855

38553856
<dt>For max-content minimums:
38563857
<dd>
38573858
If the track has a ''max-content'' <a>min track sizing function</a>,
38583859
set its <a>base size</a>
3859-
to the maximum of the items’ <a>max-content contributions</a>.
3860+
to the maximum of the items’ <a>max-content contributions</a>,
3861+
floored at zero.
38603862

38613863
<dt>For auto minimums:
38623864
<dd>
@@ -3868,7 +3870,8 @@ Resolve Intrinsic Track Sizes</h3>
38683870

38693871
Otherwise,
38703872
set its <a>base size</a>
3871-
to the maximum of its items’ <a>min-size contributions</a>.
3873+
to the maximum of its items’ <a>min-size contributions</a>,
3874+
floored at zero.
38723875
The <dfn noexport>min-size contribution</dfn> of an item is
38733876
the outer size that would result from assuming
38743877
the item’s used 'min-width' or 'min-height' value

0 commit comments

Comments
 (0)