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

Unified Diff: Source/core/dom/Node.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/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 655897c0fd7614b07c44318fb67f533f1342a440..9d3284eca8b70410298c7dd3504a6c226e1f6303 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -930,6 +930,11 @@ Node* Node::focusDelegate()
return this;
}
+bool Node::shouldHaveFocusAppearance() const
+{
+ return true;
+}
+
unsigned Node::nodeIndex() const
{
Node *_tempNode = previousSibling();

Powered by Google App Engine
This is Rietveld 408576698