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)

So, to summarize where we are right now:

* We agree on adding a way to collapse grid gaps on completely empty tracks. (proposal `empty-tracks: hide`)
* We have two proposed solutions for also collapsing spanned-over tracks in addition to empty tracks. (proposal `empty-tracks: auto`)
  1. [Choosing tracks to collapse before layout](https://github.com/w3c/csswg-drafts/issues/5813#issuecomment-2287101842)
  2. [Choosing tracks to collapse after first track sizing pass](https://github.com/w3c/csswg-drafts/issues/5813#issuecomment-2302494728)

* @Loirooriol expressed some concerns regarding the complexity of option 1 and therefore questioned whether it's worth to add this feature.
* @fantasai and @Loirooriol expressed concerns regarding discontinuity issues caused by option 2.

Sebastian

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