Closed Bug 346445 Opened 18 years ago Closed 18 years ago

Caret skips images when navigating using left/right arrows

Categories

(Core :: DOM: Selection, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: uriber, Assigned: uriber)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file)

In caret browsing mode or Editor, placing the caret before a set of one or more images and pressing right-arrow skips the image(s) and places the caret after the first letter after the images.
Similarly, pressing left-arrow after images skips the images and moves the caret to before the last letter before the image(s).

The correct (and original) behavior is to treat images as if they were characters - each arrow-press should move the caret across one image only (and not the following character).

This is a (pretty old) regression, from bug 256252.

I'll attach a testcase immediately.
Assigning to myself since I have plans to work on the relevant code.
Attached file testcase
*** Bug 306683 has been marked as a duplicate of this bug. ***
Bug 306683 comment 0 (where this issue was originally reported, by Peter Hugosson-Miller), has an additional testcase (inlined).
Depends on: 300131
Fixed by the "phase 1" patch on bug 300131.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
QA Contact: selection
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: