Repro steps 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". Expected 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. Actual 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] Patch
http://trac.webkit.org/changeset/85535
*** Bug 57745 has been marked as a duplicate of this bug. ***
Created attachment 92697 [details] RTL testcase looks like the fix here was only good for LTR text? see RTL testcase attached
Comment on attachment 92697 [details] RTL testcase 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?