Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(885)

Unified Diff: Source/core/page/EventHandler.cpp

Issue 17450016: Implementation of CSS3 nav-up/down/left/right properties from CSS3 UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added tests Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698