[whatwg/dom] Editorial: clarify document argument of "clone a node" (PR #1332)

This argument is only passed recursively or from importNode(). And importNode() does not work for documents, so whenever the node argument is a document, the document argument has to be the node argument.

---

(I want to fix the other aspects of this algorithm too. But I thought I'd make this in isolation while I spotted it.)
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Editorial: clarify document argument of "clone a node"

-- File Changes --

    M dom.bs (9)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1332
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1332@github.com>

Received on Thursday, 12 December 2024 13:58:35 UTC