Chromium Code Reviews| 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..3d4993e90b7b3d1fe1bfd1c0f45ae6d8ec31ea46 100644 |
| --- a/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp |
| +++ b/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp |
| @@ -73,6 +73,8 @@ void RadioInputType::handleClickEvent(MouseEvent* event) |
| HTMLInputElement* RadioInputType::findNextFocusableRadioButtonInGroup(HTMLInputElement* currentElement, bool forward) |
| { |
| HTMLElement* htmlElement; |
| + if (computedTextDirection() == RTL) |
|
tkent
2016/02/03 23:45:37
Here is not a right place to check RTL.
We don't n
chakshu
2016/02/08 09:46:40
Done.
|
| + forward = !(forward); |
| for (htmlElement = nextElement(*currentElement, element().form(), forward); htmlElement; htmlElement = nextElement(*htmlElement, element().form(), forward)) { |
| if (!isHTMLInputElement(*htmlElement)) |
| continue; |