Index: Source/web/WebInputElement.cpp |
diff --git a/Source/web/WebInputElement.cpp b/Source/web/WebInputElement.cpp |
index b40a42901dc4a3ac0aaf2d9190377a364391121d..fd6aac98dc5fea71304bee117ac48e8736e11aa3 100644 |
--- a/Source/web/WebInputElement.cpp |
+++ b/Source/web/WebInputElement.cpp |
@@ -54,7 +54,7 @@ bool WebInputElement::isTextField() const |
bool WebInputElement::isText() const |
{ |
- return constUnwrap<HTMLInputElement>()->isText(); |
+ return constUnwrap<HTMLInputElement>()->isTextField() && constUnwrap<HTMLInputElement>()->type() != InputTypeNames::number; |
} |
bool WebInputElement::isEmailField() const |