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)

My proposal to move this forward is just adding `empty-tracks: hide` (or `collapse`?) for the moment, which will collapse all empty tracks regardless of their track sizing function. Tracks containing spanning items are never considered empty.

This should address the original usecase, and be simple to spec and implement (since we are already doing that for `auto-fit` repetitions).

Then open other issue(s) about only collapsing when the track would be guaranteed to be 0px, and whether tracks containing spanning items should be considered empty in some cases.

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


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

Received on Wednesday, 28 August 2024 17:03:55 UTC