Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index d8d64eafef8961a82132934198998a20004022ef..b702fc7b669e80b129bba911b34c9c2438ae7792 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -2,6 +2,7 @@ |
* 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. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -3436,6 +3437,11 @@ void EventHandler::defaultArrowEventHandler(FocusType focusType, KeyboardEvent* |
if (m_frame->document()->inDesignMode()) |
return; |
+ if (page->focusController().handleCSSFocusNavigation(focusType)) { |
+ event->setDefaultHandled(); |
+ return; |
+ } |
+ |
if (page->focusController().advanceFocus(focusType)) |
event->setDefaultHandled(); |
} |