Re: [csswg-drafts] [css-grid-3] intrinsic track sizing algorithm for masonry can go exponential in complexity. (#10053)

Me, @fantasai, and @bfgeek chatted in person about this today. We reached a few conclusions:

1. Subgrid/submasonry are indeed problematic, and will need some degree of limitations preventing them from contributing information back up into their parent masonry. We'll need to figure out exactly *what* they're not allowed to communicate.
2. Ignoring that case, spanning items can reasonably be grouped into per-span groups, which can then be measured against each possible position. This has complexity of (# of positions)*(# of distinct spans), approximately, which is reasonable.
3. Non-spanning items have never been problematic.

So, with some restrictions from (1), we think it *is* reasonable to allow all possible track size combinations; in particular, track lists like `50px auto auto 100px` should be allowed.

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


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

Received on Monday, 22 July 2024 22:39:18 UTC