1. Open the attached test case in Safari.
2. Place the cursor at the end of the text, after the word "you".
3. Type a blank character, then the word "have".
After typing the blank character the cursor should move to the very end of the line and after typing "have" you should see the word "you" at the end of the first line and the word "have" at the beginning of the second line.
The word "youhave" (no blanks) is displayed at the beginning of the second line.
Note: this test is platform specific, since it involves testing the condition where the blank character doesn't fit in the previous line by only a fraction of pixel, but the bug occurs on every platform.
Created attachment 91993 [details]
*** Bug 57745 has been marked as a duplicate of this bug. ***
Created attachment 92697 [details]
looks like the fix here was only good for LTR text?
see RTL testcase attached
Comment on attachment 92697 [details]
posted as bug 60884
It seems like the test added by this test only works on Mac due to font metrics difference. Can we move the test to platform/mac or modify it so that it works on all platforms?