Re: [csswg-drafts] [css-grid] grid-gap is still taking up space when an element defined in grid-template-area is not on the page. (#5813)

> What exactly is "zero"? Just 0px? What about 0% with a definite grid container size, that's probably zero too?

I think for simplicity, it might be best to just take zero lengths here.

> Why is this needed?

Because in masonry layout, auto-placed items contribute sizing to every track.

> I'm not sure if I follow. In @SebastianZ's example, not all of the spanned rows are otherwise (ignoring the image) empty.

Yes, but if they _were_ otherwise empty, then we need to figure out what to do.

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


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

Received on Wednesday, 21 August 2024 16:39:11 UTC