Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1800)

Unified Diff: Source/web/WebAXObject.cpp

Issue 679623002: Check whether aria-expanded attribute is defined (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/WebAXObject.cpp
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp
index 3eb1a4f27556a41c1802a8d6be66d6b014710358..85367c8afd1222438c531ff84167a604836cb25e 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::supportsARIAExpanded() const
+{
+ if (isDetached())
+ return 0;
+
+ return m_private->supportsARIAExpanded();
+}
+
bool WebAXObject::isExpanded() const
{
if (isDetached())

Powered by Google App Engine
This is Rietveld 408576698