- From: Brian Kardell <notifications@github.com>
- Date: Fri, 01 Mar 2024 11:40:21 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 1 March 2024 19:40:25 UTC
`document.querySelectorAll('.foo .bar')` and `.foo .bar{...}` need to somehow match the same things in a way that is understandable. I feel like it is one thing to say that you can sort of export or 'push down' a stylesheet layer and another to say that a `.bar` in a shadow tree can suddenly match because of a `.foo` in the light tree. The former isn't changing something intrinsic, right? You can do all of that today in browsers (including WebKit) - that is what [half-light](https://github.com/bkardell/half-light/) does (as well as its predecessor and a few other similar experiments). The latter is a pretty big change though, and adding shadow root combinators would be too (though, seems easier). -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/909#issuecomment-1973804977 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/909/1973804977@github.com>
Received on Friday, 1 March 2024 19:40:25 UTC