- From: Arthur Stolyar <notifications@github.com>
- Date: Mon, 09 May 2016 02:04:53 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc:
Received on Monday, 9 May 2016 09:05:21 UTC
> But I also expect most folks to know that the document is the typical root of the node tree. That fact is constantly used with event delegation and such. Yeah, I agree. Problem is only with naming, e.g. `root` and `topRoot` are confusing, while `rootNode` and `getRootNode()` is much-much less confusing since it explicitly points to `Node`, not `Element`. I know you probably have reasons to have `document` as a root in this property, this is why I "just think" that `rootElement` could be better here. But nevermind, it was just a bit of off-topic. Are we going with `getRootNode()` then? --- 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-217812755
Received on Monday, 9 May 2016 09:05:21 UTC