- From: Bramus! via GitHub <sysbot+gh@w3.org>
- Date: Mon, 17 Jul 2023 23:58:44 +0000
- To: public-css-archive@w3.org
bramus has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-properties-values-api] [css-cascade] Interaction of @scope and @property ==
With `@scope` defined in css-cascade-6, should authors be able to register custom properties with `@property` inside the scope, without those properties loitering the global space?
```css
@scope (.card) {
/* Should --color be local to the scope or not? */
@property --color {
…
}
}
```
If it should be scoped, should that happen automatically or should it be opt-in by means of an extra descriptor during registration?
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9077 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 17 July 2023 23:58:46 UTC