- From: Bramus via GitHub <sysbot+gh@w3.org>
- Date: Fri, 04 Oct 2024 07:04:53 +0000
- To: public-css-archive@w3.org
bramus has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-cascade] Can we use `@scope` for style isolation? == CSS `@scope` is for selector isolation, not style isolation. Properties that inherit will inherit onto children beyond the scope’s scoping limit. From a lot of authors I hear that they expected it to be about style isolation. I was wondering if it would be possible to extend `@scope` to do style isolation too – something I believe would be very helpful for web component authors. Maybe a prelude like `isolated`? E.g. `@scope isolated (root) to (limit) { /* no authors styles get in or bleed out */ }`. Or maybe there need to be two flags? One to prevent styles from getting in, and one to prevent them from bleeding out? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11002 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 4 October 2024 07:04:54 UTC