| Index: Source/core/accessibility/AXNodeObject.cpp
|
| diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp
|
| index ce70d6128ac332de4590dd5abf5863f8d81a24e4..5cc9032b6296b412eb5fb2beecd5b174f9808008 100644
|
| --- a/Source/core/accessibility/AXNodeObject.cpp
|
| +++ b/Source/core/accessibility/AXNodeObject.cpp
|
| @@ -1058,6 +1058,19 @@ String AXNodeObject::stringValue() const
|
| return String();
|
| }
|
|
|
| +
|
| +const AtomicString& AXNodeObject::textInputType() const
|
| +{
|
| + Node* node = this->node();
|
| + if (!isHTMLInputElement(node))
|
| + return nullAtom;
|
| +
|
| + HTMLInputElement& input = toHTMLInputElement(*node);
|
| + if (input.isTextField())
|
| + return input.type();
|
| + return nullAtom;
|
| +}
|
| +
|
| String AXNodeObject::ariaDescribedByAttribute() const
|
| {
|
| WillBeHeapVector<RawPtrWillBeMember<Element> > elements;
|
|
|