Chromium Code Reviews

Unified Diff: Source/WebCore/html/TextFieldInputType.cpp

Issue 11415195: Merge 135829 - :read-only selector should match to date/time input types (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/WebCore/html/TextFieldInputType.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/TextFieldInputType.cpp
===================================================================
--- Source/WebCore/html/TextFieldInputType.cpp (revision 136089)
+++ Source/WebCore/html/TextFieldInputType.cpp (working copy)
@@ -329,6 +329,11 @@
m_innerSpinButton->releaseCapture();
}
+bool TextFieldInputType::supportsReadOnly() const
+{
+ return true;
+}
+
bool TextFieldInputType::shouldUseInputMethod() const
{
return true;
« no previous file with comments | « Source/WebCore/html/TextFieldInputType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine