Re: [w3c/webcomponents] Allowing CSS combinators postfixed to the ::slotted() selector (#889)

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