Re: [csswg-drafts] [css-gaps-1] Gap decorations in case items overflow the container (#11933)

> It seems like in the cross axis maybe it would make sense to still draw the cross axis decorations even if they are overflowing

Yes, I think this is probably what authors would want, and by my read it's what the spec currently calls for.

https://drafts.csswg.org/css-align-3/#gap-flex:
> When applied to the [main axis](https://drafts.csswg.org/css-flexbox-1/#main-axis) (e.g. [column-gap](https://drafts.csswg.org/css-align-3/#propdef-column-gap) in a row [flex container](https://drafts.csswg.org/css-flexbox-1/#flex-container)), indicates minimum spacing between items (as if an additional fixed-size margin were inserted between adjacent [flex items](https://drafts.csswg.org/css-flexbox-1/#flex-item) in a single line).

In other words, gaps exist between items even if they're overflowing the container, which would imply that those gaps should be decorated.

@jav099 does that make sense?

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


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

Received on Wednesday, 19 March 2025 15:50:36 UTC