Open Bug 610042 Opened 15 years ago Updated 3 years ago

Left arrow key moves caret to incorrect location after removing element within contenteditable element

Categories

(Core :: DOM: Editor, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: timdown, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 After removing an element within a contenteditable element, there is a magic broken location for the caret at the point where the element used to be. At this location, pressing the left arrow key will move the caret one character away from the end of the next element. Reproducible: Always Steps to Reproduce: 1. Open test case in Firefox 2. Caret should be located immediately before the bold "two" 3. Press the left arrow key Actual Results: Caret is between w and o of "two" Expected Results: Caret is immediately to the right of "One"
Attached file Test case
Component: Selection → Editor
Keywords: testcase
QA Contact: selection → editor
Is this a regression?
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #3) > Is this a regression? No, i can repro in a 1.9.0 Build, too.

This seems to be fixed now.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: