Re: [csswg-drafts] [css-grid-2] conditional subgrid fallback when no parent grid is available (#6692)

Thinking over this with @fantasai, it looks like the grammar is already well set-up to handle this: it currently allows `subgrid <line-name-list>`, and we could just allow it to take a full track list instead, with the sizes ignored if it successfully subgrids. That way, your example could be written:

```css
grid-template-columns: subgrid repeat(4, 1fr);
```

This seems reasonable, but we'd like to push it to level 3, as it's a new feature and `subgrid` is currently reasonably stabilized in implementations.

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


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

Received on Monday, 28 February 2022 22:56:24 UTC