- From: Nikita Vasilyev <me@elv1s.ru>
- Date: Tue, 29 Jun 2010 14:34:45 +0400
- To: www-dom@w3.org
The problem is, both range.startOffset and range.endOffset have previously selected offset, while range.startContainer and range.endContainer already changed. Furthermore, Firefox and WebKit behave differently. For instance, in Firefox selection is never collapsed. In my opinion, range.startOffset and range.endOffset must always match their containers. I didn't find here http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMCharacterDataModified any definition what browsers should actually do.
Received on Wednesday, 30 June 2010 09:34:43 UTC