Re: [csswg-drafts] [css-grid-3] Masonry - Intrinsic sizing of tracks & masonry-grid doesn't produce to good/desirable results. (#8206)

I don't think its that straightforward. There are lots of dependencies on placement hidden within the grid track sizing algorithm - for example (after a very quick look):
 - Baseline-shims (https://drafts.csswg.org/css-grid-2/#algo-baseline-shims)
 - The subgrid "extra margin" concept (https://drafts.csswg.org/css-grid-2/#subgrid-item-contribution)
 - All the logic switching behaviour if its spanning definite tracks vs. not for contribution sizing (https://drafts.csswg.org/css-grid-2/#min-size-auto)

The contribution size for a grid-item isn't the same value for "all" tracks, it needs to be calculated per placement - I'm a little concerned about the performance of this approach.

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


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

Received on Thursday, 7 September 2023 17:13:01 UTC