[Webkit-unassigned] [Bug 49111] [RTL] Arabic/AB - after typing a date, cursors doesn't go back

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 20 14:14:40 PST 2010


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





--- Comment #4 from Ryosuke Niwa <rniwa at webkit.org>  2010-12-20 14:14:40 PST ---
It seems that we need to fix InlineTextBox::positionForOffset to return the correct offset for the caret to be rendered properly.  But we're stuck here because InlineTextBox of "١١" doesn't know anything about Arabic numerals and it's just a regular LTR text box.

But for this very specific case, returning x() instead of right() of the enclosingIntRect fix the problem.  So I'm almost certain that this is where we need a fix.

Dan & Xiaomei, do you know a properly way to detect that an inline text box flows right to left (i.e. a LTR inline text box that is in a RTL embedding)?

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