Re: [whatwg/dom] Wrong return type of Node::getRootNode() (#739)

Yes, sometimes it does return a ShadowRoot. Sometimes it returns a Document, or HTMLDocument, or SVGDocument, or similar. All of these are different types of Node. That is why the return value is Node.

-- 
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/739#issuecomment-474647270

Received on Wednesday, 20 March 2019 01:25:32 UTC