W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1999

Re: adding DocumentFragment to a Node

From: Lauren Wood <lauren@sqwest.bc.ca>
Date: Wed, 07 Apr 1999 12:39:38 -0700
Message-ID: <370BB47A.71D9E261@sqwest.bc.ca>
To: "'www-dom@w3.org'" <www-dom@w3.org>


Tom Otvos wrote:
> 
> I need to reopen this topic briefly.  The spec is a little vague about node
> ownership where DocFrag's are concerned.  For appendChild, it clearly says
> that nodes are *moved* to the destination node, whereas for insertBefore, it
> just says that the frag's children are inserted.  Am I right in assuming
> that nodes are moved in both cases?

Yes. The empty DocumentFragment is left, and the contents are moved
in both cases.

Lauren

--

Lauren Wood, SoftQuad Software Inc.
Received on Wednesday, 7 April 1999 15:40:22 GMT

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