Re: [whatwg/dom] Node.prototype.rootNode is not Web compatible (#241)

If you were asking me, I did be call it `rootElement` and make it always refer to an _element_. In case of XML it would be _document's root_, in case of HTML it would be `<html>` (`document.documentElement`) and in case of ShadowDOM to shadow root.

---
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/241#issuecomment-217226800

Received on Thursday, 5 May 2016 18:20:48 UTC