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

Unified Diff: Source/core/html/forms/BaseTextInputType.cpp

Issue 995363002: Implement autocapitalize in Blink to be used by the embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: ready for review Created 5 years, 9 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/forms/BaseTextInputType.cpp
diff --git a/Source/core/html/forms/BaseTextInputType.cpp b/Source/core/html/forms/BaseTextInputType.cpp
index fe85c790e33418ca356b201e4ecfbf0c25fe9f0a..8f6e02f030af75ee114357b688a58def8c4afeec 100644
--- a/Source/core/html/forms/BaseTextInputType.cpp
+++ b/Source/core/html/forms/BaseTextInputType.cpp
@@ -95,4 +95,9 @@ bool BaseTextInputType::supportsSelectionAPI() const
return true;
}
+bool BaseTextInputType::supportsAutocapitalize() const
+{
+ return true;
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698