Skip to content

Commit 3b26eeb

Browse files
committed
[css-grid-1] Clamp 'auto' contributions by a fixed max track size even when sizing under a min-content/max-content constraint. Part I: non-spanning items, revised. #2303
1 parent 4306a05 commit 3b26eeb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

css-grid-1/Overview.bs

+6-4
Original file line numberDiff line numberDiff line change
@@ -3920,8 +3920,9 @@ Resolve Intrinsic Track Sizes</h3>
39203920
set the track's <a>base size</a>
39213921
to the maximum of its items’ <a lt="min-content contribution">min/max-content contributions</a>,
39223922
respectively,
3923-
clamped by the <a>max track sizing function</a>
3924-
if that is <a lt="fixed track sizing function">fixed</a>.
3923+
limited by the <a>max track sizing function</a>
3924+
if that is <a lt="fixed track sizing function">fixed</a>
3925+
and ultimately floored by its <a>min-size contribution</a>.
39253926

39263927
Otherwise,
39273928
set its <a>base size</a>
@@ -4493,8 +4494,9 @@ Major Changes</h4>
44934494
set the track's <a>base size</a>
44944495
to the maximum of its items’ <a lt="min-content contribution">min/max-content contributions</a>,
44954496
respectively<ins>,
4496-
clamped to less than or equal to the <a>max track sizing function</a>
4497-
if that is <a lt="fixed track sizing function">fixed</a>.</ins>
4497+
limited to less than or equal to the <a>max track sizing function</a>
4498+
if that is <a lt="fixed track sizing function">fixed</a>,
4499+
and ultimately floored by its <a>min-size contribution</a>.</ins>
44984500
</blockquote>
44994501
<blockquote>
45004502
ISSUE: Do something about spanning items.

0 commit comments

Comments
 (0)