Wrong content deleted when deleting multiple selection

NEW
Unassigned

Status

()

10 years ago
10 years ago

People

(Reporter: uriber, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
Steps to reproduce:

1. Copy the string 0123456789ABCDEFGHIJ to an input control or textarea.
2. Select "0", and then, using cmd[ctrl] and the mouse, select "A".
3. Press delete (or backspace).
4. Notice that "0" and "B" were deleted (the string is now 123456789ACDEFGHIJ).

If the first selected range is "01", "C" will be deleted, and so on.
In general, the offset of the characters deleted for the second range is shifted to the right by the size of the first range.
(Reporter)

Updated

10 years ago
Component: Selection → Editor
QA Contact: selection → editor
You need to log in before you can comment on or make changes to this bug.