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

Re: adding DocumentFragment to a Node

From: <keshlam@us.ibm.com>
Date: Tue, 3 Nov 1998 17:12:56 -0500 (EST)
To: www-dom@w3.org
Message-ID: <852566B1.00794934.00@us.ibm.com>
One hacker's opinion, not authoritative:

Insert always returns the node you passed in,  so inserting a
DocumentFragment should return the DocumentFragment. Your mistake, I think,
is assuming that the DocumentFragment is destroyed by the copying process.
It isn't, it just loses all its children. The user can destroy it, or reuse
it, as they see fit.
______________________________________
Joe Kesselman  / IBM Research
Unless stated otherwise, all opinions are solely those of the author.
Received on Wednesday, 4 November 1998 11:30:26 GMT

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