- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 Mar 2023 16:51:37 +0000
- To: public-css-archive@w3.org
+1 to Tab's comment in https://github.com/w3c/csswg-drafts/issues/8380#issuecomment-1414253699 and Miriam's clarification that it's not a strict de-sugaring (to handle cases where that doesn't quite work). But about matching only the last step:
> To make sure I understand what's implemented: When https://github.com/scope rules are nested, you're not currently calculating all the proximity relationships up the chain - only the final relationship.
I'm actually surprised by this. I think it's pretty confusing if you have
```
@scope (A) {
@scope (B) {
X { color: blue }
}
X { color: yellow }
}
```
and the color is yellow for an element that matches both.
--
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8380#issuecomment-1450475188 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 1 March 2023 16:51:39 UTC