Re: [csswg-drafts] [css-grid-3][Masonry] Intrinsic auto repeats mixed with fixed tracks (#12899)

Re-opening this since I ran into an issue when trying to make this update.

The problem is that to calculate the largest span size as part of the `2 + (largest span - 2)/(number of tracks in repeat())` calculation, you need to already know how many auto repeats there are, because an item spanning line names relies on the full list of tracks and line names to calculate its span size. So, this calculation ends up being a circular dependency.

This is likely one of the reasons why we originally divided by the span and only expanded once.

Re-opening to see if this update to the heuristic still makes sense, or if we want to have some heuristic for calculating the largest span size in such cases.

-- 
GitHub Notification of comment by alisonmaher
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12899#issuecomment-3793214938 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 24 January 2026 00:38:48 UTC