summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/html/HTMLInputElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLInputElement.cpp')
-rw-r--r--Source/WebCore/html/HTMLInputElement.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/html/HTMLInputElement.cpp b/Source/WebCore/html/HTMLInputElement.cpp
index 4ede2a8..27b29a8 100644
--- a/Source/WebCore/html/HTMLInputElement.cpp
+++ b/Source/WebCore/html/HTMLInputElement.cpp
@@ -1569,7 +1569,11 @@ bool HTMLInputElement::hasSpinButton() const
bool HTMLInputElement::supportsPlaceholder() const
{
+#if PLATFORM(ANDROID)
+ return isTextType() || isNumberField();
+#else
return isTextType();
+#endif
}
CheckedRadioButtons& HTMLInputElement::checkedRadioButtons() const