- From: mantou via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Aug 2024 03:29:30 +0000
- To: public-css-archive@w3.org
I'm trying to use `@scope` instead of Shadow DOM style isolation, so I hope to add syntax to scope to include boundaries, e.g: `@scope (my-element) to (:state(style-scoped) > *)` to `@scope (my-element) to [(:state(style-scoped))]`: This can conveniently write styles to match the various elements of the boundary. shadow dom style isolation: ```css :host { ... } children-element { ... } ``` `@scope` style isolation(add `@scope (my-element) to [(:state(style-scoped))]` warpper): ```css :scope {...} children-element { ... } ``` -- GitHub Notification of comment by mantou132 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8617#issuecomment-2264446580 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 2 August 2024 03:29:31 UTC