Bug 24279

Summary: RTL Regression: Caret position is wrong when typing LTR text in a RTL text box
Product: WebKit Reporter: Xiaomei Ji <xji>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: mitz, playmobil, xji
Priority: P2 Keywords: PlatformOnly
Version: 525.x (Safari 3.2)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
test case none

Xiaomei Ji
Reported 2009-03-01 15:23:40 PST
This is a regression. It works correctly in Sarafi 3.2, but not in nightly r41128. Test case is attached. Type a English word in the text box of the test page. The caret should move to right, as that's where the last typed letter is. (FF and IE behaves like this). In Safari, the caret always stays at the very left.
Attachments
test case (167 bytes, text/html)
2009-03-01 15:25 PST, Xiaomei Ji
no flags
Xiaomei Ji
Comment 1 2009-03-01 15:25:11 PST
Created attachment 28155 [details] test case
mitz
Comment 2 2009-03-01 15:38:48 PST
The behavior is correct for Mac OS X. Note that in Firefox, the position (and shape, see bug 22386) of the insertion point changes depending on the active keyboard layout, so that in the attached test case, if one types LTR characters using the U.S. keyboard layout and then changes the keyboard layout to Hebrew, the insertion point moves to the left. In Mac OS X, the position to the left may be indicated by a split caret (see bug 3710), but that does not depend on the active keyboard layout. I don't think this issue warrants two separate bugs (bug 24278 and this one).
Xiaomei Ji
Comment 3 2009-03-01 16:22:30 PST
*** This bug has been marked as a duplicate of 24278 ***
Note You need to log in before you can comment on or make changes to this bug.