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

Unified Diff: Source/core/accessibility/AXList.cpp

Issue 616553002: Revert of Add AX role ,'AXDescriptionList', for dl element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/core/accessibility/AXList.h ('k') | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXList.cpp
diff --git a/Source/core/accessibility/AXList.cpp b/Source/core/accessibility/AXList.cpp
index 042c0c5ea511eb0753f766bc8dbbc54116582837..2f316edcd31842645a700befe7c4a33174798ffc 100644
--- a/Source/core/accessibility/AXList.cpp
+++ b/Source/core/accessibility/AXList.cpp
@@ -56,20 +56,4 @@
return accessibilityIsIgnoredByDefault();
}
-bool AXList::isDescriptionList() const
-{
- if (!m_renderer)
- return false;
-
- Node* node = m_renderer->node();
- return node && node->hasTagName(dlTag);
-}
-
-AccessibilityRole AXList::roleValue() const
-{
- if (isDescriptionList())
- return DescriptionListRole;
-
- return ListRole;
-}
} // namespace blink
« no previous file with comments | « Source/core/accessibility/AXList.h ('k') | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698