Closed Bug 330457 Opened 15 years ago Closed 15 years ago

Bidi: After pressing "Home" on a line starting with reverse-direction text, pressing "Del" immediately deletes a character away from the caret

Categories

(Core :: Layout: Text and Fonts, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: uriber, Assigned: mkaply)

References

Details

(Keywords: regression)

Attachments

(1 file)

In an LTR textarea, on a line beginning with RTL text:
1. Press "Home" - the caret moves to the beginning (left) of the line.
2. Press "Del".

The first letter of the RTL text (which is away from the caret) is immediately deleted, and the caret jumps to the location of the deleted letter.

Expected: No deletion should be done. Instead, the caret should jump to the location immediately to the right of the first RTL character.

The same happens in an RTL textarea, in a line starting with LTR text. 

This is a regression from bug 327107.

Testcase coming up.
Attached file testcase
Instructions included inside.
This would be fixed by the patch on bug 330460.
Depends on: 330460
Fixed by the fix to bug 330460.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
You need to log in before you can comment on or make changes to this bug.