Index: third_party/WebKit/Source/core/input/EventHandler.cpp |
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp |
index b403fece842dd9db1936cd69c995f145a588a97b..277aca1214115f0d87252b98a50305dd9b099405 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp |
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp |
@@ -2,6 +2,8 @@ |
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
* Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
* Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) |
+ * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
+ * Copyright (C) 2016 Samsung Electronics. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -3468,6 +3470,11 @@ void EventHandler::defaultArrowEventHandler(WebFocusType focusType, KeyboardEven |
if (m_frame->document()->inDesignMode()) |
return; |
+ if (page->focusController().advanceCSSNavigationFocus(focusType)) { |
+ event->setDefaultHandled(); |
+ return; |
+ } |
+ |
if (page->focusController().advanceFocus(focusType)) |
event->setDefaultHandled(); |
} |