This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://dom.spec.whatwg.org/#concept-node-clone [[ optionally with a /document ownerDocument/ ]] What's the variable name here? "document"? "ownerDocument"? "document ownerDocument"? The first step makes this even more confusing: [[ 1. If /document/ is not given let /ownerDocument/ be /node/'s node document. ]] I can't actually tell how to call this algorithm from this.
https://github.com/whatwg/dom/commit/c9fb7aa4b32d54fab2f7b5d0a00986a666aec4ed