| Index: Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/Source/web/WebFrameWidgetImpl.cpp b/Source/web/WebFrameWidgetImpl.cpp
|
| index 90ea7baa0f68b43d85054fb64c270c58aacaa75b..efb09d35431cf0d467b456bacf930c1214bf2ffb 100644
|
| --- a/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -886,35 +886,35 @@ bool WebFrameWidgetImpl::mapKeyCodeForScroll(
|
| {
|
| switch (keyCode) {
|
| case VKEY_LEFT:
|
| - *scrollDirection = ScrollLeft;
|
| + *scrollDirection = ScrollLeftIgnoringWritingMode;
|
| *scrollGranularity = ScrollByLine;
|
| break;
|
| case VKEY_RIGHT:
|
| - *scrollDirection = ScrollRight;
|
| + *scrollDirection = ScrollRightIgnoringWritingMode;
|
| *scrollGranularity = ScrollByLine;
|
| break;
|
| case VKEY_UP:
|
| - *scrollDirection = ScrollUp;
|
| + *scrollDirection = ScrollUpIgnoringWritingMode;
|
| *scrollGranularity = ScrollByLine;
|
| break;
|
| case VKEY_DOWN:
|
| - *scrollDirection = ScrollDown;
|
| + *scrollDirection = ScrollDownIgnoringWritingMode;
|
| *scrollGranularity = ScrollByLine;
|
| break;
|
| case VKEY_HOME:
|
| - *scrollDirection = ScrollUp;
|
| + *scrollDirection = ScrollUpIgnoringWritingMode;
|
| *scrollGranularity = ScrollByDocument;
|
| break;
|
| case VKEY_END:
|
| - *scrollDirection = ScrollDown;
|
| + *scrollDirection = ScrollDownIgnoringWritingMode;
|
| *scrollGranularity = ScrollByDocument;
|
| break;
|
| case VKEY_PRIOR: // page up
|
| - *scrollDirection = ScrollUp;
|
| + *scrollDirection = ScrollUpIgnoringWritingMode;
|
| *scrollGranularity = ScrollByPage;
|
| break;
|
| case VKEY_NEXT: // page down
|
| - *scrollDirection = ScrollDown;
|
| + *scrollDirection = ScrollDownIgnoringWritingMode;
|
| *scrollGranularity = ScrollByPage;
|
| break;
|
| default:
|
|
|