[Webkit-unassigned] [Bug 24303] Using keyboard select RTL text, Highlight goes to opposite direction from FF&IE

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 5 12:49:10 PST 2009


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





------- Comment #6 from xji at chromium.org  2009-03-05 12:49 PDT -------
Maybe I did not understand what you mean by "visually" completely.

I attached the Firefox selection process.

I think Firefox does not use "visual" selection in RTL text box, it is still
logical order, but it is a mirrored (or reversed) logical order. 

Using the test case that illustrates FF behavior, if we are using "visual
order" (VisualPosition::left()), when the cursor is between 'x' and 'y', when
we press shift+left_arrow, 
should the highlight highlights character 'x'? Or by "refine as
necessary and as possible when the extent is at a boundary between levels", it
is able to highlight only character 'y'?
(the positions around "xyz" are: '(9) (8)x(6)y(7)z(5)
(4)C(3)B(2)A(1)dummy_RTL')

Even worse, when the cursor is between 'y' and 'z', using
VisualPosition::left(), shift-left_arrow will select character 'y' (it is
within the same run, should not be any complication), but FF selects character
'z'.


-- 
Configure bugmail: https://bugs.webkit.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