| Index: third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp b/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
|
| index eca599df57a6362b148961f68780535b40e66d83..2aa6c96dfb8b16c6b6d12aff62642641ad5c6fcf 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
|
| @@ -101,7 +101,7 @@ void RadioInputType::handleKeydownEvent(KeyboardEvent* event)
|
| Document& document = element().document();
|
| if (isSpatialNavigationEnabled(document.frame()))
|
| return;
|
| - bool forward = (key == "Down" || key == "Right");
|
| + bool forward = computedTextDirection() == RTL ? (key == "Down" || key == "Left") : (key == "Down" || key == "Right");
|
|
|
| // We can only stay within the form's children if the form hasn't been demoted to a leaf because
|
| // of malformed HTML.
|
|
|