- From: Steve Orvell <notifications@github.com>
- Date: Mon, 04 Mar 2024 13:27:50 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 4 March 2024 21:27:54 UTC
@robglidden > I am working on a project with declarative shadow DOM and cascade layers and it has changed my approach to this longstanding issue. I hadn't considered this, and it's pretty clever. > with declarative shadow DOM, selector shadow-crossing no longer needed Maybe less needed, but I believe the core "it does not match" issue will come up, and the remaining problems are not just cascade related as it seems you're suggesting. In particular, consider scope-crossing selectors for **nested components** . For example, from your declarative stylesheet you might still want to match something that without shadow DOM would look like: `.foo .bar button` if the actual structure within your declarative shadowRoot is more like: `my-element.foo #shadowRoot my-view.bar #shadowRoot button` -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/909#issuecomment-1977487651 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/909/1977487651@github.com>
Received on Monday, 4 March 2024 21:27:54 UTC