Open Bug 460138 Opened 16 years ago Updated 3 years ago

Wrong content deleted when deleting multiple selection

Categories

(Core :: DOM: Editor, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: uriber, Unassigned)

Details

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.
Component: Selection → Editor
QA Contact: selection → editor

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

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