@@ -4178,8 +4178,7 @@ Resolve Intrinsic Track Sizes</h3>
4178
4178
<li id="track-size-intrinsic-min">
4179
4179
<strong> For intrinsic minimums:</strong>
4180
4180
First [=distribute extra space=]
4181
- to <a>base sizes</a> of all tracks,
4182
- preferring those with
4181
+ to <a>base sizes</a> of tracks with
4183
4182
an <a lt="intrinsic sizing function">intrinsic</a> <a>min track sizing function</a> ,
4184
4183
to accommodate these items’ <a>minimum contributions</a> .
4185
4184
@@ -4198,8 +4197,7 @@ Resolve Intrinsic Track Sizes</h3>
4198
4197
<li id="track-size-content-min">
4199
4198
<strong> For content-based minimums:</strong>
4200
4199
Next continue to [=distribute extra space=]
4201
- to the [=base sizes=] of all tracks,
4202
- preferring those with
4200
+ to the [=base sizes=] of tracks with
4203
4201
a <a>min track sizing function</a> of ''min-content'' or ''max-content'' ,
4204
4202
to accommodate these items' <a>min-content contributions</a> .
4205
4203
@@ -4208,16 +4206,14 @@ Resolve Intrinsic Track Sizes</h3>
4208
4206
Next, if the grid container is being sized
4209
4207
under a <a>max-content constraint</a> ,
4210
4208
continue to [=distribute extra space=]
4211
- to the [=base sizes=] of all tracks,
4212
- preferring those with
4209
+ to the [=base sizes=] of tracks with
4213
4210
a <a>min track sizing function</a> of
4214
4211
''grid-template-columns/auto'' or ''max-content'' ,
4215
4212
to accommodate these items' <a>limited max-content contributions</a> .
4216
4213
4217
4214
In all cases,
4218
4215
continue to [=distribute extra space=]
4219
- to the [=base sizes=] of all tracks,
4220
- preferring those with
4216
+ to the [=base sizes=] of tracks with
4221
4217
a <a>min track sizing function</a> of ''max-content'' ,
4222
4218
to accommodate these items' <a>max-content contributions</a> .
4223
4219
@@ -4338,10 +4334,6 @@ Distributing Extra Space Across Spanned Tracks</h4>
4338
4334
* which tracks to affect (the |affected track|s).
4339
4335
* what intrinsic size contributions are being accommodated (the |size contribution|s)
4340
4336
of which grid items spanning those tracks (the |item|s).
4341
- * optionally, a preferred subset of the |affected tracks| (the |preferred track|s),
4342
- indicating a |track preference| (even if the subset is empty);
4343
- if no |track preference|,
4344
- the |preferred track|s default to all |affected track|s.
4345
4337
4346
4338
<ol>
4347
4339
<li>
@@ -4367,11 +4359,10 @@ Distributing Extra Space Across Spanned Tracks</h4>
4367
4359
<pre><var> space</var> = max(0, <var> size contribution</var> - ∑<var> track-sizes</var> )</pre>
4368
4360
4369
4361
<li>
4370
- <strong> Distribute |space| to |preferred track|s up to limits:</strong>
4362
+ <strong> Distribute |space| up to limits:</strong>
4371
4363
4372
- If the item spans any |preferred track|s,
4373
- find the |item-incurred increase| for each such track by:
4374
- distributing the space equally among these tracks,
4364
+ Find the |item-incurred increase| for each |affected track| by:
4365
+ distributing the |space| equally among these tracks,
4375
4366
freezing a track’s |item-incurred increase|
4376
4367
as its |affected size| + |item-incurred increase|
4377
4368
reaches its |limit|
@@ -4383,45 +4374,29 @@ Distributing Extra Space Across Spanned Tracks</h4>
4383
4374
the |limit| is infinity if it is marked as [=infinitely growable=] ,
4384
4375
and equal to the [=growth limit=] otherwise.
4385
4376
4386
- Note: If the affected size was a <a>growth limit</a>
4377
+ Note: If the | affected size| was a <a>growth limit</a>
4387
4378
and the track is not marked [=infinitely growable=] ,
4388
4379
then each |item-incurred increase| will be zero.
4389
4380
4390
- <li>
4391
- <strong> Distribute |space| to non-preferred tracks up to limits:</strong>
4392
-
4393
- If extra |space| remains at this point
4394
- and the item spans any non-preferred |affected track|s,
4395
- then continue distributing |space| as defined in the previous step
4396
- to these |affected track|s,
4397
- skipping any tracks with a [=min-content=] [=max track sizing function=]
4398
- when accommodating [=max-content contributions=] .
4399
-
4400
- Note: This step only affects [=base sizes=] ,
4401
- because this algorithm is never invoked on [=growth limits=]
4402
- with any non-preferred |affected tracks|.
4403
-
4404
4381
<li>
4405
4382
<strong> Distribute |space| beyond limits:</strong>
4406
4383
4407
4384
If extra |space| remains at this point,
4408
- unfreeze the |preferred track|s (if any)
4409
- or else the |affected track|s (if there was no |track preference|),
4410
- then continue to distribute |space| to the |item-incurred increase| of…
4385
+ unfreeze and continue to distribute |space| to the |item-incurred increase| of…
4411
4386
4412
4387
<ul>
4413
4388
<li>
4414
4389
when <a href=#track-size-intrinsic-min>accommodating minimum contributions</a>
4415
4390
or <a href=#track-size-content-min>accommodating min-content contributions</a> :
4416
- any unfrozen |affected track| that happens to also have an intrinsic <a>max track sizing function</a> ;
4417
- if there are no such tracks, then all unfrozen |affected track|s.
4391
+ any |affected track| that happens to also have an intrinsic <a>max track sizing function</a> ;
4392
+ if there are no such tracks, then all |affected track|s.
4418
4393
<li>
4419
4394
when <a href=#track-size-max-content-min>accommodating max-content contributions</a> :
4420
- any unfrozen |affected track| that happens to also have a ''max-content'' <a>max track sizing function</a> ;
4421
- if there are no such tracks, then all unfrozen |affected track|s.
4395
+ any |affected track| that happens to also have a ''max-content'' <a>max track sizing function</a> ;
4396
+ if there are no such tracks, then all |affected track|s.
4422
4397
<li>
4423
4398
when handling any intrinsic <a>growth limit</a> :
4424
- all unfrozen |affected track|s.
4399
+ all |affected track|s.
4425
4400
</ul>
4426
4401
4427
4402
For this purpose,
0 commit comments