Re: [csswg-drafts] [css-mixins-1] Using a scoping rule breaks author expectations, can we get rid of it? (#13727)

> So I'm curious why you'd include rules in your mixin that you don't want to match anything?

In the [example](https://github.com/w3c/csswg-drafts/issues/13727#issuecomment-4173757754), the idea was to expose something "part-like," as an exercise mostly. The `@mixin` could be provided by a 3rd party and if I want to limit it's "scope" to apply only within the "part-like" subtree, I can include `@scope` around the `@apply`. 

IMO, this is good, and as a component author, I'm happy to have this control and flexibility.

-- 
GitHub Notification of comment by sorvell
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13727#issuecomment-4180431291 using your GitHub account


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

Received on Thursday, 2 April 2026 20:56:17 UTC