[Webkit-unassigned] [Bug 3729] right/left arrow keys move forward/backward through document instead of right/left in RTL text

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Jul 29 08:08:46 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=3729





------- Comment #4 from opendarwin.org at mitzpettel.com  2006-07-29 08:08 PDT -------
Here's one of the relatively simple cases that I just don't know how to solve
(uppercase letters are RTL):

<div style="direction:ltr">
abcABC<span>DEF</span>
</div>

It is laid out as

abcFEDCBA

The primary caret positions, from left to right, should be:
div.text[0] div.text[1] div.text[2] div.text[3] span.text[2] span.text[1]
span.text[0] div.text[5] div.text[4] span.text[3]

That last step, from div.text[4] to span.text[3] is the tricky one, and so is
recognizing that span.text[3] is a rightmost position.

There is also a variant where there is another text node after the span, but
that text node wraps to the next line.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list