Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 4b4165bf81ee05c66cb7c432a7ca47c047ad5994..8e996c2c46ab1d190b5fce40f55400d66fb8ab27 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -3413,6 +3413,11 @@ void EventHandler::defaultArrowEventHandler(FocusDirection focusDirection, Keybo |
if (m_frame->document()->inDesignMode()) |
return; |
+ if (page->focusController()->handleCSSFocusNavigation(focusDirection)) { |
+ event->setDefaultHandled(); |
+ return; |
+ } |
+ |
if (page->focusController()->advanceFocus(focusDirection)) |
event->setDefaultHandled(); |
} |