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

RESOLVED FIXED

Status

()

defect
RESOLVED FIXED
14 years ago
11 years ago

People

(Reporter: uriber, Assigned: mkaply)

Tracking

({regression})

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Reporter

Description

14 years ago
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.
Reporter

Comment 1

14 years ago
Posted file testcase
Instructions included inside.
Reporter

Comment 2

14 years ago
This would be fixed by the patch on bug 330460.
Depends on: 330460
Reporter

Comment 3

13 years ago
Fixed by the fix to bug 330460.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED

Updated

11 years ago
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.