CSS scoping via the `@scope` rule is introduced as a new CSS feature that allows styles to be targeted to a subtree of the document. Unlike traditional descendant selectors, `@scope` introduces cascade proximity — declarations with a more proximate scoping root take priority regardless of specificity or source order. Key behaviors are covered: subjects must be in scope while other selectors in the list need not be, selectors within a scope block are relative to the scope root, and scoped selectors do not inherit the specificity of the `@scope` prelude selector. The feature requires Chrome Canary with experimental flags enabled.
2 Impressions