Closed Bug 1521586 Opened 5 years ago Closed 2 years ago

Selection using shift+arrow keys goes 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

(Keywords: rtl)

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 on an html input anywhere on the page. Then click somewhere on the text and press and hold the shift key and try to select and highlight text by moving forward and backward using right/left arrow keys.

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

Actual results:

The text will be highlighted in opposite logical direction (physical direction), i.e. when navigating logically forward the highlight moves in logical backward direction.

Expected results:

Firefox should respect the logical direction and highlight text in logical direction. Arabic, Persian and Hebrew are right-to-left scripts.

OS: Unspecified → macOS
Keywords: rtl
See Also: → 1417662
See Also: → 1521589
Component: Untriaged → Selection
Product: Firefox → Core
Priority: -- → P3

Confirmed on:
Firefox 72.0.2 on Linux Mint
Thunderbird 60.9.0 on Linux Mint

Confirmed in Thunderbird 68.7.0 on Ubuntu 20.04.

See related bug 1138419.

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.