Bug 248287 - Implement Masonry Track Sizing
Summary: Implement Masonry Track Sizing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brandon
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-23 13:02 PST by Sammy Gill
Modified: 2023-01-03 09:02 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.