Index: Source/core/accessibility/AXMenuList.cpp |
diff --git a/Source/core/accessibility/AXMenuList.cpp b/Source/core/accessibility/AXMenuList.cpp |
index 4d5588e1b00c03c7413906544482c519ca52510a..104f309053e1a7fa6f38ce70695be62e0fe5b923 100644 |
--- a/Source/core/accessibility/AXMenuList.cpp |
+++ b/Source/core/accessibility/AXMenuList.cpp |
@@ -87,6 +87,14 @@ bool AXMenuList::isCollapsed() const |
return !toRenderMenuList(m_renderer)->popupIsVisible(); |
} |
+AccessibilityExpanded AXMenuList::isExpanded() const |
+{ |
+ if (isCollapsed()) |
+ return ExpandedCollapsed; |
+ |
+ return ExpandedExpanded; |
+} |
+ |
bool AXMenuList::canSetFocusAttribute() const |
{ |
if (!node()) |