Closed Bug 1521589 Opened 5 years ago Closed 2 years ago

Command+left/right arrow keys moves caret in opposite direction in rtl context

Categories

(Core :: DOM: Selection, defect, P3)

64 Branch
Unspecified
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1138419

People

(Reporter: mehdi, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

On macOS: type or paste some Persian, Arabic or Hebrew text into any input field such as Address Bar or on an html input anywhere on any page. Then click on the text and press Command+left or right arrow key.

Sample text to copy paste (Persian):
این باگ را به سرعت درست می‌کنیم.

Actual results:

The caret moves to the end of the line but in opposite logical direction.

Expected results:

The caret should move to the end of the long in logical direction.

Logical direction in RTL scripts is the opposite of physical direction in Latin script, i.e. logical forward in RTL text actually moves the caret physically backward on screen, which is perfectly fine for RTL script.

OS: Unspecified → macOS
See Also: → 1521586
Component: Untriaged → Selection
Product: Firefox → Core
Priority: -- → P3
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.