Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 0c406ddee3166c9a5d611f06c026ebc34d32ec4e..9f259627f4c0ab285ac08b631dbb19c5dfa374b9 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) 2013 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 |
@@ -3480,6 +3481,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(); |
} |