|Summary:||Text does not split on white space when typing to the edge of window|
|Product:||WebKit||Reporter:||Enrica Casucci <enrica>|
|Component:||Layout and Rendering||Assignee:||Enrica Casucci <enrica>|
|Severity:||Normal||CC:||mitz, ojan, progame+wk, rniwa, xji|
|Version:||528+ (Nightly build)|
|OS:||OS X 10.5|
Description Enrica Casucci 2011-05-02 15:24:29 PDT
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.
Comment 3 Ryosuke Niwa 2011-05-02 15:54:26 PDT
*** Bug 57745 has been marked as a duplicate of this bug. ***
Comment 4 Yair Yogev 2011-05-07 15:06:28 PDT
Created attachment 92697 [details] RTL testcase looks like the fix here was only good for LTR text? see RTL testcase attached
Comment 5 Yair Yogev 2011-05-16 07:54:43 PDT
Comment on attachment 92697 [details] RTL testcase posted as bug 60884
Comment 6 Ryosuke Niwa 2011-06-11 13:25:20 PDT
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?