There is not really a good reason to have this logic here instead of GridMasonryLayout. This would actually make it easier to reference items within these data structures (especially first track items) much more easily during the actual masonry layout algorithm
<rdar://problem/102871735>
Pull request: https://github.com/WebKit/WebKit/pull/7054
Committed 257358@main (ee553c43b364): <https://commits.webkit.org/257358@main> Reviewed commits have been landed. Closing PR #7054 and removing active labels.