Comment #24 on issue 1845 by [email protected]: cant alignt text to the
right using right shift and right ctrl
http://code.google.com/p/chromium/issues/detail?id=1845
This is just for your information.
To investigate this issue, it seems IE makes a setAttribute("dir", "rtl")
call of DOM
when pressing right-shift and right-control keys. IE also makes a
setAttribute("dir",
"ltr") call when pressing left-shift and left-control keys.
To implement these behaviors, we should change the WebKeyboardEvent class
and the
PlatformKeyboardEvent class to distinguish left-shift and right-shift keys.
We also
change the EditorClientImpl class to map a key
combination "(right-shift)+(right-
control)" to "MakeTextWritingDirectionRightToLeft" and map a key
combination "(left-
shift)+(left-control)" to "MakeTextWritingDirectionLeftToRight". (As far as
I have
tested this implementation on my PC, it seems we also need to change WebKit
to let
the above function call setAttribute() functions to keep consistency with
DOM
attributes.)
Please feel free to call me if you need more help.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---