[Webkit-unassigned] [Bug 25298] Ctrl + Right/Left arrow move forward/backward through document instead of right/left in RTL text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 28 07:34:36 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=25298





--- Comment #49 from Xiaomei Ji <xji at chromium.org>  2011-03-28 07:34:36 PST ---
(In reply to comment #48)
> Xiaomei commented to me in person that one of the ways that FF gets to their superior behavior is by "cheating" and defining word boundaries as spaces.  Which is not true for languages like Japanese (which don't have spaces) and thus require use of a heuristic (like the one provided by ICU).
> 
> At least I think I'm recalling the conversation with Xiamoei correctly.  She should correct me if I'm wrong! :)
> 
> It might be useful to consider "cheating" like FF for the complex cases if that will make our behavior much better.  I don't know.

Firefox implements control-arrow moves caret by word visually.
It treats space as word breaker, which is not completely right for CJK languages, and it simplifies the process a bit. But simply using space as word boundary is not the reason that they achieve the superior behavior. They did a good job, I have to say. 

We use word breaker which break words logically, which made it a bit complicated than what Firefox does, but I do not think we should move backward.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list