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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:23 UTC