- From: dshin-moz via GitHub <sysbot+gh@w3.org>
- Date: Thu, 18 Apr 2024 21:39:42 +0000
- To: public-css-archive@w3.org
Should `:scope` inserted by `&` + Implicit scope root add to specificity? Blink & WebKit diverge on it:
```
<!DOCTYPE html>
<div>
<style>
@scope {
& .foo {
color: blue;
}
}
:scope .foo {
color: red;
}
</style>
<div class="foo">What Color?</div>
</div>
```
Shows red on Chrome dev 125.0.6382.3 and blue on Safari Technology Preview 17.4.
--
GitHub Notification of comment by dshin-moz
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10196#issuecomment-2065371007 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 18 April 2024 21:39:43 UTC