[csswg-drafts] [css-cascade-6] Absolutize Relative Selector Syntax within `@scope`? (#10047)

dshin-moz has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-cascade-6] Absolutize Relative Selector Syntax within `@scope`? ==
[CSS Nesting](https://drafts.csswg.org/css-nesting/#cssom) spec explicitly absolutizes any use of relative selector syntax by inserting `&`. Seems consistent, then, to absolutize relative selector uses in `@scope` by inserting `:scope`.

By extension (Since we're [treating it like](https://drafts.csswg.org/css-cascade-6/#scope-limits) scoped style rules), `<scope-end>` should do the same, if the relative selector syntax is used. (Aside - `<scope-end>` is [solely defined](https://drafts.csswg.org/css-cascade-6/#typedef-scope-end) as `<forgiving-selector-list>`)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10047 using your GitHub account


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

Received on Thursday, 7 March 2024 20:57:39 UTC