Bug 248287
| Summary: | Implement Masonry Track Sizing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sammy Gill <sgill26> |
| Component: | Layout and Rendering | Assignee: | 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 | ||
Sammy Gill
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).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/102632991>
Brandon
Pull request: https://github.com/WebKit/WebKit/pull/7404
Brandon
Pull request: https://github.com/WebKit/WebKit/pull/7986
EWS
Committed 258280@main (3c5823bb309e): <https://commits.webkit.org/258280@main>
Reviewed commits have been landed. Closing PR #7986 and removing active labels.