Chromium Code Reviews| Index: Source/modules/accessibility/AXObject.cpp |
| diff --git a/Source/modules/accessibility/AXObject.cpp b/Source/modules/accessibility/AXObject.cpp |
| index 90a72e45f9f2a2836ce7cd19e4c349bcaf4e3785..cc47059cc38e73302be1fa7038ded41c140587fb 100644 |
| --- a/Source/modules/accessibility/AXObject.cpp |
| +++ b/Source/modules/accessibility/AXObject.cpp |
| @@ -518,8 +518,15 @@ AccessibilityButtonState AXObject::checkboxOrRadioValue() const |
| return ButtonStateOff; |
| } |
| -bool AXObject::ariaIsMultiline() const |
| +bool AXObject::isMultiline() const |
|
dmazzoni
2015/03/30 06:17:54
Let's do two more things while you're at it so tha
shreeramk
2015/03/30 06:36:28
You mean to say this??
if (isNativeTextControl() &
|
| { |
| + Node* node = this->node(); |
| + if (!node) |
| + return false; |
| + |
| + if (isHTMLTextAreaElement(*node)) |
| + return true; |
| + |
| return equalIgnoringCase(getAttribute(aria_multilineAttr), "true"); |
| } |