Re: range boundary point update after insertion

CAVEAT: I haven't rechecked the Range spec, so I could be wrong... but I
think what we intended was that after an insertion into the middle of a
range, the range should still cover everything that it used to cover plus
the inserted data.

So for your example:

   <root>hello</root>

   Range:
     start container: hello
     start offset: 1
     end container: root
     end offset: 1

followed by rangeA.insertNode(foo), I would expect

   <root>h<foo/>ello</root>

   Range:
     start container: h
     start offset: 1
     end container: root
     end offset: 3

______________________________________
Joe Kesselman  / IBM Research

Received on Friday, 1 December 2000 13:05:34 UTC