- From: Kevin Babbitt via GitHub <noreply@w3.org>
- Date: Thu, 12 Jun 2025 01:02:54 +0000
- To: public-css-archive@w3.org
One note, the gap sizes are not "inherited" in the CSS sense. Rather, the `normal` keyword is defined, as I understand it, such that the *used value* will be the same in the subgrid as in the parent grid: > A value of [normal](https://www.w3.org/TR/css-align-3/#valdef-row-gap-normal) indicates that the subgrid has the same size gutters as its parent grid For gap decorations, I don't think we can just use the same value directly; it seems unlikely to be what the author wants if they've specified varying decorations in the parent grid. For example, suppose the author specifies `column-rule-width: thick repeat(auto, thin)` on the parent grid to get a thick line in the first column gap only. They would also get a thick line in the first column gap of the *subgrid*, which is not going to line up with the thin lines in the rest of the parent grid. (Unless of course the subgrid happens to occupy the first two columns of the parent grid.) Instead, we'd need to do something where we line up the decorations similar to how Grid 2 lines up the gaps themselves. That feels awfully magical to me, but if it happens for the gaps, I can see authors expecting it to happen for the decorations as well. -- GitHub Notification of comment by kbabbitt Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12326#issuecomment-2964674293 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 12 June 2025 01:02:55 UTC