Open Bug 547248 Opened 11 years ago Updated 11 years ago
Caret navigation issue around a non editable element within a contenteditable environment
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.2) Gecko/20100218 Ubuntu/9.10 (karmic) Firefox/3.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.2) Gecko/20100218 Ubuntu/9.10 (karmic) Firefox/3.6 Let suppose we have a page with a paragraph with "contenteditable" attribute set to true and within this paragraph a span environment with "contenteditable" attribute set to false. If you put the text caret at the beginning of the span element and then you press the right arrow, you expect the caret to jump at the end of the span element, instead it jumps on the right of the first character after the span. There is a similar behavior if you set the initial position of the caret at the end of the span element and then you press the left arrow. Reproducible: Always Steps to Reproduce: 1. Load a page with a non editable span element within an editable paragraph 2. set the caret at the beginning (end) of the span element 3. press the right (left) arrow Actual Results: the new caret position is after (before) the first character on the right (left) of the span Expected Results: the new caret position should be at the end (beginning) of the span element
Component: General → Editor
Product: Firefox → Core
QA Contact: general → editor
Version: unspecified → 1.9.2 Branch
You need to log in before you can comment on or make changes to this bug.