[csswg-drafts] [css-cascade-4] Could you clarify if a web page’s DOM tree itself is an encapsulation context? (#5501)

simevidas has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-cascade-4] Could you clarify if a web page’s DOM tree itself is an encapsulation context? ==
Regarding the new Context criterion

> A document language can provide for blending declarations sourced from different encapsulation contexts, such as the nested tree contexts of shadow trees in the [DOM]. 

https://drafts.csswg.org/css-cascade-4/#encapsulation-contexts

Is a web page’s own DOM tree also an encapsulation context?

For example, if a page has a custom element with a shadow tree, are there two encapsulation contexts (the page’s own tree and the nested shadow tree), or is there only one encapsulation context (the nested shadow tree)?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5501 using your GitHub account


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

Received on Saturday, 5 September 2020 23:42:47 UTC