Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
index a0d2f7aed90610ef88098ffcf3d115d1523211d4..3868b615a8121a9c22891ae1b84024b51d9a026e 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
@@ -1279,7 +1279,11 @@ void AXLayoutObject::AriaLabelledbyElements(AXObjectVector& labelledby) const { |
} |
bool AXLayoutObject::AriaHasPopup() const { |
- return ElementAttributeValue(aria_haspopupAttr); |
+ const AtomicString& has_popup = |
+ GetAOMPropertyOrARIAAttribute(AOMStringProperty::kHasPopUp); |
+ |
+ return !has_popup.IsNull() && !has_popup.IsEmpty() && |
+ !EqualIgnoringASCIICase(has_popup, "false"); |
} |
bool AXLayoutObject::AriaRoleHasPresentationalChildren() const { |