- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Tue, 04 Jun 2024 13:34:26 +0000
- To: public-css-archive@w3.org
andruud has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-cascade] Allow declarations directly in @scope? == Currently, `@scope` only accepts _rules_ in its body. If you want to apply something to the scoping root itself, you need to use a `:scope` rule: ``` @scope (div) { :scope { color: green; } } ``` However, ever since [relaxed nesting](https://github.com/w3c/csswg-drafts/issues/7961) was introduced (where we first try to parse something as a declaration, and otherwise try it as a nested rule), we should be unblocked if we wanted to support direct declarations in the rule. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10389 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 4 June 2024 13:34:27 UTC