Re: [csswg-drafts] [css-cascade] Allow making a scope's upper bound really inclusive (check nested selectors against it) (#13391)

@romainmenke – Interesting, thank you so much for the clear explanation! I was hoping for a solution that works with [the upcoming `@import scope()` syntax](https://github.com/w3c/csswg-drafts/pull/11237), in the sense that any existing stylesheet can be scoped, which means the scoped rules shouldn't have to know about `:scope` (not to mention that I don't think `:in-scope` is really an improvement over `:is(:scope, *)`). I would specifically want to use this technique with Tailwind CSS-generated utilities, and I don't see them adding support for such a niche use case.

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


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

Received on Sunday, 25 January 2026 16:29:54 UTC