Bug 103070

Summary: RTL/LTR Override Characters can cause loops in keyboard caret movement
Product: WebKit Reporter: Yair Yogev <progame+wk>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: ap, glenn, max.hong.shen, mitz, playmobil, xji
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
testcase
none
testcase2 none

Description Yair Yogev 2012-11-22 08:00:12 PST
Created attachment 175678 [details]
testcase

Steps to repro in the test case:
1. Put the caret somewhere in the palindrome line
2. Hold the Right arrow key pressed
3. You should see the caret looping

There is also the symmetric case using RTL textarea and LTR Override Character.

Tested using
Google Chrome	25.0.1323.1 (Official Build 167142) dev-m
OS	Windows XP
WebKit	537.19 (@134111)
JavaScript	V8 3.15.1.2
Comment 1 Yair Yogev 2012-11-22 08:04:33 PST
Created attachment 175679 [details]
testcase2

this testcase has only one special character
Comment 2 Yi Shen 2012-12-07 09:33:32 PST
what is the expected behavior? Should the caret move to second line or just stay at the end of the first line?