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

Re: range.surroundContents

From: Jonas Sicking <sicking@bigfoot.com>
Date: Mon, 5 Jun 2000 20:53:48 +0200
Message-ID: <011501bfcf1f$62653940$3110f7d4@Milwork08>
To: <www-dom@w3.org>
Joe Kesselman wrote:

> > Also, the CR says that all children of the new node should be deleted
> > before
> > the node is inserted. Couldn't it be useful to allow attribute nodes to
> >remain.
> The DOM doesn't consider Attrs to be children. Unless I'm missing
> something, they shouldn't be affected.

Sorry, you're right about that.

But I still havn't got any answer to my first question; Why is an exception
raised when doing surroundContents on the following tree (* marks range
start and end):


(see longer explaination in my previous post)

/ Jonas Sicking
Received on Monday, 5 June 2000 14:53:10 UTC

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