Re: [csswg-drafts] [css-grid] Property "grid-item-of": display any element as part of any given grid (#2530)

It's similar, but there are 2 differences:
• My `name` applied to all elements (and possibly pseudo-elements); `grid-name`'s very name suggests it's designed only for grids.
• Instead of wrapping selectors in `selector()`, I propose marking the name reference and simply including it in the syntax of selectors. So e.g. this would work:
```CSS
display-as-grid-item-of: .my-component:focus-within named(my-grid)
```

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

Received on Tuesday, 18 February 2020 20:54:00 UTC