User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52) Gecko/20100625 Firefox/3.6.6 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:184.108.40.206) Gecko/20100625 Firefox/3.6.6 (.NET CLR 3.5.30729) At that site the caret is not updated anymore when you have changed focus to the file menu and back to the document again. Reproducible: Always Steps to Reproduce: 1.Insert caret in any paragraph. 2.Press "ALT" key, ensure file menu has focus now. 3.Press "ESC" to set focus back to the paragraph. 4.Notice that the caret offset is always -1 when you move the caret. Listening to IA2_EVENT_TEXT_CARET_MOVED doesn't work either. Actual Results: Caret offset is always -1. Expected Results: A valid caret offset. Tried on various other sites, where it didn't happen.
reasoning for caret move event: when menu is focused then caret offset should be -1 on paragraph, when focus goes back to the paragraph then caret should be >= 0, from this point of view the caret position is changed and we should fire caret move event.