browsers + arrow keys + bidi


When dealing with bidi text I think of right arrow key as forward arrow and left arrow key as back arrow.

Looking at the last 2 textboxes in the results window at jsfiddle.net/coas/qa8190kn<http://jsfiddle.net/coas/qa8190kn> The first of these 2 is ltr and the last is rtl.

Now select some text in the ltr textbox using shift and forward arrow, say starting at the boundary between b and c. All the browsers behave as I expect. They are all working on memory order and they are all selecting the text I expect.

It is with the rtl textbox that there are differences. Of the browsers I tried, Firefox is the only one to behave as I expect ie shift + forward behaving the same and selecting the same text as in the ltr textbox. With the other browsers I tried, I had to use back arrow to select the same text.

I prefer the way Firefox behaves. Is there a standard for browser behaviour under these circumstances?

André Schappo

Received on Wednesday, 28 February 2018 10:57:39 UTC