Re: [csswg-drafts] [css-cascade] Definition of “encapsulation context” (#11265)

The CSS specs are written so that they could be applied to document trees other than the DOM. So, the vocabulary in the CSS specs hook into the shadow DOM indirectly. In theory there could be other encapsulation contexts, and maybe someday someone will define one; in practice, I'm not aware of other element trees that have such a concept, so the shadow DOM is the only real example.

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


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

Received on Thursday, 27 March 2025 20:34:52 UTC