W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2011

Re: Node append

From: Robin Berjon <robin@berjon.com>
Date: Tue, 20 Sep 2011 16:02:41 +0200
Cc: www-dom@w3.org, "Erik Arvidsson" <arv@chromium.org>, "Ojan Vafai" <ojan@chromium.org>
Message-Id: <09DA831B-A4DC-4645-9E74-43AC147A5192@berjon.com>
To: Anne van Kesteren <annevk@opera.com>
On Sep 16, 2011, at 17:13 , Anne van Kesteren wrote:
> Maybe instead of a new append() method we could simply make the methods that already accept DocumentFragMent accept arrays too? The arrays would be valid as long as they only contain nodes DocumentFragment can contain or DOMString.
> 
> Let me know what you think.

I like that plan. DocumentFragment is little more than an array already anyway.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Tuesday, 20 September 2011 14:03:08 GMT

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