Re: [csswg-drafts] [css-gaps-1] Dropping decorations for suppressed gaps (#13754)

For flex, I agree that skipping the rule on wrap will likely be more common. However, I'm not convinced it necessarily should be the default (as opposed to an opt-in).

For example, in the following demo, you have an image gallery that guarantees two items per flex line with different % fills per line. Each row also alternates between images of different color hues, and you want to create a decoration repeat pattern to match the hue of the images in that row: https://codepen.io/alisonmaher/pen/raMvgwj.

If we skip style decorations by default, we will never render the second color in the repeat in this example, which could be confusing.

<img width="767" height="526" alt="Image" src="https://github.com/user-attachments/assets/f88f41c8-b152-4299-8100-2e838e5a5aeb" />

Regarding gap suppression in fragmentation, I do think we should skip because otherwise that would mean decoration styles would shift up when printing.

For grid collapsed tracks, we drop those tracks before tracks are finalized. I think they should be treated as not having gaps to begin with, and as such, we shouldn't skip decoration rules where they would have been.

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


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

Received on Thursday, 2 April 2026 17:00:56 UTC