@@ -4021,11 +4021,7 @@ Resolve Intrinsic Track Sizes</h3>
4021
4021
<li id="algo-spanning-items">
4022
4022
<strong> Increase sizes to accommodate spanning items crossing content-sized tracks:</strong>
4023
4023
Next, consider the items with a span of 2
4024
- that do not span a track with a <a>flexible sizing function</a> ,
4025
- treating a <a>min track sizing function</a> of ''auto''
4026
- as ''min-content'' /''max-content''
4027
- when the grid container is being sized under a
4028
- <a lt="min-content constraint">min</a> /<a>max-content constraint</a> (respectively):
4024
+ that do not span a track with a <a>flexible sizing function</a> .
4029
4025
<!-- auto-min contribution <= min-content contribution <= max-content contribution -->
4030
4026
4031
4027
<ol>
@@ -4035,21 +4031,45 @@ Resolve Intrinsic Track Sizes</h3>
4035
4031
an <a lt="intrinsic sizing function">intrinsic</a> <a>min track sizing function</a>
4036
4032
by <a href="#extra-space">distributing extra space</a> as needed
4037
4033
to accommodate these items’ <a>minimum contributions</a> .
4034
+
4035
+ If the grid container is being sized under a
4036
+ <a lt="min-content constraint">min-</a> or <a>max-content constraint</a> ,
4037
+ use the items’ <a>limited min-content contributions</a>
4038
+ in place of their <a>minimum contributions</a> here.
4039
+ (For an item spanning multiple tracks,
4040
+ the upper limit used to calculate
4041
+ its <a lt="limited min-content contribution">limited min-/max-content contribution</a>
4042
+ is the <em> sum</em> of the <a lt="fixed sizing function">fixed</a>
4043
+ <a>max track sizing functions</a>
4044
+ of any tracks it spans,
4045
+ and is applied if it only spans such tracks.)
4046
+
4038
4047
<li>
4039
4048
<strong> For content-based minimums:</strong>
4040
4049
Next continue to increase the <a>base size</a> of tracks with
4041
4050
a <a>min track sizing function</a> of ''min-content'' or ''max-content''
4042
4051
by <a href="#extra-space">distributing extra space</a> as needed
4043
4052
to account for these items' <a>min-content contributions</a> .
4053
+
4044
4054
<li>
4045
4055
<strong> For max-content minimums:</strong>
4046
- Third continue to increase the <a>base size</a> of tracks with
4056
+ Next, if the grid container is being sized
4057
+ under a <a>max-content constraint</a> ,
4058
+ continue to increase the <a>base size</a> of tracks with
4059
+ a <a>min track sizing function</a> of
4060
+ ''grid-template-columns/auto'' or ''max-content''
4061
+ by <a href="#extra-space">distributing extra space</a> as needed
4062
+ to account for these items' <a>limited max-content contributions</a> .
4063
+
4064
+ In all cases,
4065
+ continue to increase the <a>base size</a> of tracks with
4047
4066
a <a>min track sizing function</a> of ''max-content''
4048
4067
by <a href="#extra-space">distributing extra space</a> as needed
4049
4068
to account for these items' <a>max-content contributions</a> .
4050
4069
<li>
4051
4070
If at this point any track’s <a>growth limit</a> is now less than its <a>base size</a> ,
4052
4071
increase its <a>growth limit</a> to match its <a>base size</a> .
4072
+
4053
4073
<li>
4054
4074
<strong> For intrinsic maximums:</strong>
4055
4075
Next increase the <a>growth limit</a> of tracks with
@@ -4099,6 +4119,7 @@ Resolve Intrinsic Track Sizes</h3>
4099
4119
</pre>
4100
4120
</blockquote>
4101
4121
</details>
4122
+
4102
4123
<li>
4103
4124
<strong> For max-content maximums:</strong>
4104
4125
Lastly continue to increase the <a>growth limit</a> of tracks with
0 commit comments