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

Re: Recent questions about document traversal

From: John Cowan <cowan@locke.ccil.org>
Date: Wed, 15 Sep 1999 11:04:18 -0400 (EDT)
Message-Id: <199909151504.LAA29926@locke.ccil.org>
To: TBryant@objfactory.com (Bryant, Tim)
Cc: www-dom@w3.org
Bryant, Tim scripsit:

> What is the correct behavior when the current node is deleted?

Nodes can't be *deleted* in the technical DOM sense, only removed
from the document tree, either singly or as a result of removing
some ancestor.  In either case, TreeWalker just walks the
fragment, either finding itself unable to move, or else able
to move but not to reach the Document node.

John Cowan                                   cowan@ccil.org
       I am a member of a civilization. --David Brin
Received on Wednesday, 15 September 1999 10:27:51 UTC

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