Re: [whatwg/dom] A faster way to find open shadow roots (or shadow hosts) (#665)

After mulling this over, we wonder if something patterned after the existing document collections could work? 
E.g., we have `document.scripts`, `document.links` (which finds all anchors with an href); something like `document.shadowHosts` (which could return all elements with a shadowRoot property that is non-null and open). 
Though this would probably not work recursively if that is a necessary use case...

-- 
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/665#issuecomment-420756083

Received on Wednesday, 12 September 2018 18:44:52 UTC