Re: Proposed errata for DOM2 Range regarding insertNode()

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?

-Boris

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