W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Element.create(): a proposal for more convenient element creation

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 02 Aug 2011 15:41:53 +1200
Message-ID: <4E377201.30405@mcc.id.au>
To: public-webapps@w3.org
On 2/08/11 3:36 PM, João Eiras wrote:
> However, Nodes need a ownerDocument, and that needs to be supplied, even
> if optionally. Doing document.createElement implies the document,
> Element.create does not.

I figure the ownerDocument would be window.document (where the window 
object is the global object that window.Element lives on).
Received on Tuesday, 2 August 2011 03:42:27 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:46 GMT