Bug 248287

Summary: Implement Masonry Track Sizing
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: Layout and RenderingAssignee: Brandon <brandonstewart>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, brandonstewart, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=250028

Description Sammy Gill 2022-11-23 13:02:28 PST
https://drafts.csswg.org/css-grid-3/#track-sizing

Track sizing works the same as in CSS Grid, except that that the algorithm is run only with the subset of items that have a known grid axis placement. This subset contains the items placed at the first implicit line in the masonry axis in Grid Item Placement above, plus the items that have a specified definite placement in the grid axis, plus the items that span all grid axis tracks (which obviously will be placed at the first implicit line since there is no other way to place them). Other items will be placed in the grid axis by the § 2.4 Masonry Layout Algorithm below and don’t contribute to intrinsic track sizing (because that would create circular dependencies).
Comment 1 Radar WebKit Bug Importer 2022-11-23 13:02:46 PST
<rdar://problem/102632991>
Comment 2 Brandon 2022-12-09 12:51:27 PST
Pull request: https://github.com/WebKit/WebKit/pull/7404
Comment 3 Brandon 2022-12-21 16:10:16 PST
Pull request: https://github.com/WebKit/WebKit/pull/7986
Comment 4 EWS 2022-12-22 20:00:38 PST
Committed 258280@main (3c5823bb309e): <https://commits.webkit.org/258280@main>

Reviewed commits have been landed. Closing PR #7986 and removing active labels.