Command+left/right arrow keys moves caret in opposite direction in rtl context
Categories
(Core :: DOM: Selection, defect, P3)
Tracking
()
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.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•2 years ago
|
Description
•