W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

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

From: Šime Vidas via GitHub <sysbot+gh@w3.org>
Date: Sat, 05 Sep 2020 23:42:44 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-694207718-1599349363-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:15 UTC