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)

> @SebastianZ I would prefer to avoid extra passes of the sizing algorithm.

I am imagining only an extra step (which is necessary in any case we want to solve this), not an extra pass.
Maybe this check could actually be part of the grid sizing algorithm, right after step 2. So the track sizing algorithm already ran once for rows and columns.

And regarding "zero", I'd expect this to include any track that does not take up any space at that point, independent of whether that's `0px` or `0%`.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5813#issuecomment-2302494728 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:24:32 UTC