- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Wed, 05 Oct 2022 20:57:40 +0000
- To: public-css-archive@w3.org
We didn't discuss it today, but I think it would make sense to also clarify in `@scope` that the root selector is a relative selector when `@scope` is nested:
```css
.media {
/* elements matching `.media .h-card` act as a scope root */
@scope (.h-card) {
img { object-fit: cover; }
}
/* elements matching `.media` act as a scope root */
@scope (&) {
img { object-fit: cover; }
}
}
```
--
GitHub Notification of comment by mirisuzanne
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5745#issuecomment-1268967541 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 5 October 2022 20:57:42 UTC