Index: Source/web/WebAXObject.cpp |
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp |
index 283ee4206ce7bbb18ed2d5a999ff5f1045d87467..3eb1a4f27556a41c1802a8d6be66d6b014710358 100644 |
--- a/Source/web/WebAXObject.cpp |
+++ b/Source/web/WebAXObject.cpp |
@@ -274,6 +274,14 @@ bool WebAXObject::isEnabled() const |
return m_private->isEnabled(); |
} |
+bool WebAXObject::isExpanded() const |
+{ |
+ if (isDetached()) |
+ return 0; |
+ |
+ return m_private->isExpanded(); |
+} |
+ |
bool WebAXObject::isFocused() const |
{ |
if (isDetached()) |