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

Huh! Or we could have picked the one name everyone else (including other representatives from Google) involved in the discussion agreed on earlier: `findRootNode()`.

Now, that I've stated the elephant in the room, let me elaborate why we don't want any of names you listen:
 - `treeScope`: *scope* is a bad name for this because what we're finding is really the root of the node tree, not some scope.  Also this is confusing with respect to the [similarly named concept](https://drafts.csswg.org/selectors-4/#scope-element) in CSS.
 - `scopeRootNode`: See above.
 - `topTreeNode`: What we're looking for the node that's the root of the tree. Also, someone complained that `top` usually means the leaf of a tree when I suggested `treeTop` so the same complaint applies here.
 - `treeScopeRoot`: Again, having `scope` is just confusing and `treeRoot` is too popular.

---
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-224655643

Received on Wednesday, 8 June 2016 16:55:01 UTC