@@ -437,20 +437,24 @@ Intrinsic Tracks and repeat()</h4>
437437 <div algorithm="determine intrinsic repetitions">
438438 To determine the number of repetitions
439439 that a ''repeat()'' function resolves to,
440- run layout as defined in [[#track-sizing-performance]] ,
441- with the following changes:
440+ resolve the repeated track sizing functions to definite sizes
441+ by initializing the track sizes (per [[css-grid-2#algo-init]] )
442+ and resolving intrinsic track sizes (per [[css-grid-2#algo-content]] )
443+ in accordance with [[#track-sizing]]
444+ with the following assumptions:
442445
443446 * Expand ''repeat()/auto-fill'' /''repeat()/auto-fit'' repeat functions once.
444447 * Ignore explicit item placement.
445448 (That is, assume all items have an [=automatic position=] .)
449+ * Do not [=collapsed grid track|collapse=] any tracks.
446450 * If a [=masonry item=] has a span larger than 1,
447- then for each of its intrinsic sizes
448- that it would contribute to the [=virtual masonry item=] ,
451+ then for each of its intrinsic size contributions,
449452 first subtract the combined size of the gaps it would span,
450453 and divide by its span.
451- Then treat it as being a span-1 item with those sizes.
454+ Then treat it as an item that has a span of 1
455+ and these modified intrinsic size contributions.
452456
453- Any intrinsically-sized tracks are then treated as having the size
457+ All tracks are then treated as having the size
454458 calculated by this simplified layout
455459 (including those in ''repeat()'' arguments,
456460 taking from their corresponding single repetition)
0 commit comments