- From: Caleb Williams <notifications@github.com>
- Date: Tue, 21 Jul 2020 06:32:50 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 July 2020 13:33:03 UTC
Wouldn’t `querySelector('::slotted(.foo)')` give away that a shadow DOM exists (even in a case where the shadow root is closed)? It seems to me like `host.querySelector('.foo')` should suffice from a DOM API perspective although I agree the CSS selector from within a shadow root would be a nice addition if the performance worked out. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/889#issuecomment-661863651
Received on Tuesday, 21 July 2020 13:33:03 UTC