[whatwg/dom] Rename rootNode to getRootNode() and add composed argument (#248)

Fixes #241. Unfortunately a variety of good short names is incompatible
with the web.

Furthermore, the argument was made that a method better exposes the
fact that this is not always a O(1) operation and can be used to return
the shadow-including root when given an argument.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/248

-- Commit Summary --

  * Rename rootNode to getRootNode() and add composed argument

-- File Changes --

    M dom.bs (19)
    M dom.html (27)

-- Patch Links --

https://github.com/whatwg/dom/pull/248.patch
https://github.com/whatwg/dom/pull/248.diff

---
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/pull/248

Received on Tuesday, 10 May 2016 10:04:37 UTC