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 Wood, SoftQuad Software Inc.
Received on Wednesday, 7 April 1999 15:40:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:05 UTC