W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2011

Re: Simplifying element creation

From: James Graham <jgraham@opera.com>
Date: Thu, 06 Oct 2011 10:49:41 +0200
Message-ID: <4E8D6BA5.5030200@opera.com>
To: www-dom@w3.org
On Thu 06 Oct 2011 10:41:19 AM CEST, James Graham wrote:
> On 10/06/2011 12:51 AM, Jonas Sicking wrote:
>
>> It sounds to me like we're creating a JSON format for the DOM and
>> making element.append accept the JSON format. This doesn't sound great
>> to me. It basically sounds like too high level to fit enough use
>> cases.
>
> Just the .append part? I see no reason that Element.create couldn't 
> tork in the same way to produce an element with a subtree.

Er, *work*.
Received on Thursday, 6 October 2011 08:50:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:08 GMT