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

As a (contrived, arguably bad) collapsed tracks in grid example, I can imagine implementing a menu like this one as a single grid.

<img width="454" height="888" alt="Image" src="https://github.com/user-attachments/assets/63fab9e6-836d-4258-8746-201451a92c30" />

Though not the approach I would recommend taking, I can imagine doing this with a hard-coded set of rows based on the maximum number of rows per section, and then using a gap decoration for the one dividing line.

Section Title Row - Pinned
10 auto-sized 'pinned item' rows (3 of which would be empty in the image above)
Section Title Row - Frequent
10 auto-sized 'frequent' rows (4 of which would be empty in the image above)
5 auto-sized 'core window' rows (2 of which would be empty in the image above)

And then row-rules to skip the first 22 rows, then make the 1 gray line, then skip the remaining rows.

If we wanted to support this kind of (questionable) design, it would require us taking the drop/skip approach.

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


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

Received on Wednesday, 1 April 2026 17:22:42 UTC