[Webkit-unassigned] [Bug 103067] Keyboard caret movement in textarea with RTL Override Character can make tab unresponsive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 5 11:51:41 PST 2012


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





--- Comment #6 from Ryosuke Niwa <rniwa at webkit.org>  2012-12-05 11:54:07 PST ---
(From update of attachment 177801)
View in context: https://bugs.webkit.org/attachment.cgi?id=177801&action=review

> Source/WebCore/editing/VisiblePosition.cpp:149
>                  InlineBox* prevBox = box->prevLeafChild();
> -                if (!prevBox) {
> +                if (!prevBox || prevBox->isLineBreak()) {

I think what you want to do here is to call prevLeafChildIgnoringLineBreak() in the previous line.
Also, you probably need to do the same thing in leftVisuallyDistinctCandidate.

-- 
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