Re: [csswg-drafts] [css-cascade] Allow declarations directly in @scope? (#10389)

@mirisuzanne Yeah, true. We already have this problem when the `@scope` is a nested group rule, though:

```
div {
  @scope (#foo) {
    color: green; /* Specificity=? */
  }
}
```

(To be clear, the above is already valid today).

> it should likely have the same specificity implications? 0,1,0 vs 0,0,0?

So you're expecting 0,0,0 here, right?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 12 June 2024 07:05:18 UTC