- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Fri, 18 Nov 2022 15:50:25 +0000
- To: public-css-archive@w3.org
Is this correct?
```css
/* 1 */
.foo {
:has(& + .bar) { /* "&" is ".foo" */
/* styles */
}
}
/* 2 */
.other :has(& + .bar) { /* "&" is ":scope" */
/* styles */
}
```
Equivalent to :
```css
/* 1 */
:has(.foo + .bar) {
/* styles */
}
/* 2 */
.other :has(:scope + .bar) {
/* styles */
}
```
--
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5745#issuecomment-1320204844 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 18 November 2022 15:50:26 UTC