W3C home > Mailing lists > Public > public-webapi@w3.org > May 2008

Re: Proposed errata for DOM2 Range regarding insertNode()

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 14 May 2008 10:54:32 -0500
Message-ID: <482B0B38.5070704@mit.edu>
To: Ian Hickson <ian@hixie.ch>
CC: public-webapi@w3.org

Ian Hickson wrote:
> I propose that we change the spec to explicitly say that if you call insertNode() on a 
> collapsed range, the end point offset is increased by one

Increased at what point in time, exactly?  Specifically, if there is a 
DOMNodeInserted listener that repositions the range when the node insertion 
happens, or even mutates the DOM, what is the expected behavior?

Received on Wednesday, 14 May 2008 15:55:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:26 UTC