| Index: Source/core/accessibility/AccessibilityList.cpp
|
| diff --git a/Source/core/accessibility/AccessibilityList.cpp b/Source/core/accessibility/AccessibilityList.cpp
|
| index 6c37152964ce8daaf7ebf7edaae49efc81eb3b2f..5fb32b5099656ea4eb27be8bd2ba2d7a4306aad7 100644
|
| --- a/Source/core/accessibility/AccessibilityList.cpp
|
| +++ b/Source/core/accessibility/AccessibilityList.cpp
|
| @@ -34,7 +34,7 @@
|
| using namespace std;
|
|
|
| namespace WebCore {
|
| -
|
| +
|
| using namespace HTMLNames;
|
|
|
| AccessibilityList::AccessibilityList(RenderObject* renderer)
|
| @@ -55,12 +55,12 @@ bool AccessibilityList::computeAccessibilityIsIgnored() const
|
| {
|
| return accessibilityIsIgnoredByDefault();
|
| }
|
| -
|
| +
|
| bool AccessibilityList::isUnorderedList() const
|
| {
|
| if (!m_renderer)
|
| return false;
|
| -
|
| +
|
| Node* node = m_renderer->node();
|
|
|
| // The ARIA spec says the "list" role is supposed to mimic a UL or OL tag.
|
| @@ -68,7 +68,7 @@ bool AccessibilityList::isUnorderedList() const
|
| // On the Mac, there's no distinction to the client.
|
| if (ariaRoleAttribute() == ListRole)
|
| return true;
|
| -
|
| +
|
| return node && node->hasTagName(ulTag);
|
| }
|
|
|
| @@ -82,17 +82,17 @@ bool AccessibilityList::isOrderedList() const
|
| return true;
|
|
|
| Node* node = m_renderer->node();
|
| - return node && node->hasTagName(olTag);
|
| + return node && node->hasTagName(olTag);
|
| }
|
|
|
| bool AccessibilityList::isDescriptionList() const
|
| {
|
| if (!m_renderer)
|
| return false;
|
| -
|
| +
|
| Node* node = m_renderer->node();
|
| - return node && node->hasTagName(dlTag);
|
| + return node && node->hasTagName(dlTag);
|
| }
|
| -
|
| -
|
| +
|
| +
|
| } // namespace WebCore
|
|
|