| Index: Source/core/accessibility/AXNodeObject.cpp
|
| diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp
|
| index 330d01145a42be619afe32844bf08799dbb11c82..7f663aa8817b6fbc4f92b07476e72f44139da862 100644
|
| --- a/Source/core/accessibility/AXNodeObject.cpp
|
| +++ b/Source/core/accessibility/AXNodeObject.cpp
|
| @@ -580,10 +580,8 @@ bool AXNodeObject::isNativeTextControl() const
|
| if (isHTMLTextAreaElement(*node))
|
| return true;
|
|
|
| - if (isHTMLInputElement(*node)) {
|
| - HTMLInputElement* input = toHTMLInputElement(node);
|
| - return input->isText() || input->type() == InputTypeNames::number;
|
| - }
|
| + if (isHTMLInputElement(*node))
|
| + return toHTMLInputElement(node)->isTextField();
|
|
|
| return false;
|
| }
|
|
|