This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22514 - "optionally with a document ownerDocument"
Summary: "optionally with a document ownerDocument"
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-28 22:13 UTC by Ian 'Hixie' Hickson
Modified: 2013-07-01 15:25 UTC (History)
2 users (show)

See Also:


Attachments

Description Ian 'Hixie' Hickson 2013-06-28 22:13:22 UTC
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.