Re: [whatwg/dom] Match querySelector for pseudo elements (::slotted()) (#463)

> This is substantially different from supporting the selectors in stylesheets?

In the case of Blink, usually querySelector/querySelectorAll first collects a set of elements that will be matched against the given selector, but for a selector which contains `/deep/`, Blink has a special path to match that selector against nodes in all descendant tree scopes.

If we'd support `:host`, `::slotted()`, `::part`, we'd add some more special paths to collect more elements that have to be matched against.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/463#issuecomment-323506740

Received on Saturday, 19 August 2017 07:27:14 UTC