To reproduce, run the attached test case. The cursor should be at the end (i.e. right side, since this is RTL) of the 2nd line, but instead is after the 1st character on the /left/ of the 2nd line. The test can also be reproduced by pressing down (when the cursor is at the rightmost position of the 1st line in the div).
Another observation (probably unrelated): it seems like it's impossible to actually select the start (right) of the text using the mouse, you need to select somewhere else then navigate with arrow keys.
Another observation (probably related): the qt linux build behaves the worst, it isn't even possible to place the cursor on the rightmost position.
A similar bug exists when using hebrew rather than english text, see second attachment, and it seems the behaviour diverges depending on build.
- chromium linux/mac and gtk: cursor is on the left side of the 1st line
- qt linux: cursor is after the 1st character on the left side of the 2nd line
Both of which are wrong.
Created attachment 77298 [details]
Test case with english text
Created attachment 77299 [details]
Test case with hebrew text
I removed the "expected fail" and added the failing test to the Qt Skipped file:
http://trac.webkit.org/changeset/76513 might have broken GTK Linux 32-bit Debug
The following tests are not passing:
Is Anybody working this bug?
Created attachment 166949 [details]
The problem of this test is with Hebrew fonts.
With this change  in testfonts, it's passing.
Comment on attachment 166949 [details]
Clearing flags on attachment: 166949
Committed r130787: <http://trac.webkit.org/changeset/130787>
All reviewed patches have been landed. Closing bug.