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)
Tracking
()
NEW
People
(Reporter: timdown, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
748 bytes,
text/html
|
Details |
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"
Comment 2•15 years ago
|
||
Confirmed with Build http://hg.mozilla.org/mozilla-central/rev/5947e95a21d1.
Comment 4•15 years ago
|
||
(In reply to comment #3)
> Is this a regression?
No, i can repro in a 1.9.0 Build, too.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•