Re: [csswg-drafts] [css-grid-2] Suppression of gaps/gutters across fragment breaks (#11520)

Yeah, I think treating a gap as its own monolithic thing would be even better for the gap decoration image case. Or perhaps we make that only true for decorated gaps, to avoid edge cases where an empty gap is the first thing at the top of the next fragment. In fact, the currently spec'ed suppression behavior probably does make sense for non-decorated gaps, though I agree that other 2D layouts should follow suit.

So, new proposal:
If a 2D layout container is fragmented between tracks, the fragmentation behavior depends on whether the gutter at the fragment boundary contains a gap decoration.
* If it does not, then the gutter spacing between those tracks must be suppressed.
* If it does, then the gutter must be treated as monolithic for the purpose of fragmenting layout.

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


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

Received on Friday, 24 January 2025 22:43:59 UTC