Re: [csswg-drafts] [css-cascade-6] Can we support implicit scopes in nested settings? (#10497)

@tabatkins I don't think that makes sense.

- A `@scope` rule selects a specific element to become the scoping root.
- A `CSSNestedDeclarations` rule within `@scope` then matches that scoping root with zero specificity, (equivalent to :where(:scope)). https://github.com/w3c/csswg-drafts/issues/10431
- Pseudo-elements can't be scoping roots, and I don't think we should change that. https://drafts.csswg.org/css-cascade-6/#scope-syntax. It is a separate issue in any case.

So I think `&` is fine here.

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


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

Received on Wednesday, 18 September 2024 16:42:34 UTC