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

> I really think that spanning items should not contribute to the width of the columns in masonry.

I disagree. Like, if you have `repeat(5, min-content)`, and an item spans two of those columns, we *do* want to make sure the track size is large enough that the two columns it spans will contain its min-content size. After all, the whole reason you *gave* it a span might be because you expected it to be large. If we don't contribute its size to the tracks, then it'll *happen* to work fine if it's min-content size is less than twice that of the non-spanning items, but it'll overflow if it *is* larger than double. That seems pretty bad.

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


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

Received on Friday, 26 April 2024 22:52:14 UTC