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

Unified Diff: Source/core/html/BaseDateAndTimeInputType.cpp

Issue 16194013: Mouse press should focus on any types of form controls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/html/BaseDateAndTimeInputType.cpp
diff --git a/Source/core/html/BaseDateAndTimeInputType.cpp b/Source/core/html/BaseDateAndTimeInputType.cpp
index 52e38574e907be3f73c890311f04e4dfc53b5bea..7da7e10052ed1b4e1b4a3a8a3b868cc37a70f95d 100644
--- a/Source/core/html/BaseDateAndTimeInputType.cpp
+++ b/Source/core/html/BaseDateAndTimeInputType.cpp
@@ -175,4 +175,9 @@ bool BaseDateAndTimeInputType::valueMissing(const String& value) const
return element()->isRequired() && value.isEmpty();
}
+bool BaseDateAndTimeInputType::shouldShowFocusRingOnMouseFocus() const
+{
+ return true;
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698