Re: adding DocumentFragment to a Node

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 UTC