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

Re: [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: Tue, 08 Sep 2020 00:58:57 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-688560408-1599526735-sysbot+gh@w3.org>
Ah, I remembered that style rules from the other page aren’t matched against elements in the shadow tree, and vice versa.

So when does this blending of declarations from different encapsulation contexts during the cascade happen in HTML in practice? Could you give an example?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 8 September 2020 00:58:58 UTC

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