AX Handle LI element regardless of style

BUG=141116

Review URL: https://codereview.chromium.org/657293002

git-svn-id: svn://svn.chromium.org/blink/trunk@183936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 5a9e62ea
...@@ -272,7 +272,7 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole() ...@@ -272,7 +272,7 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole()
return ImageMapRole; return ImageMapRole;
return LinkRole; return LinkRole;
} }
if (cssBox && cssBox->isListItem()) if ((cssBox && cssBox->isListItem()) || isHTMLLIElement(node))
return ListItemRole; return ListItemRole;
if (m_renderer->isListMarker()) if (m_renderer->isListMarker())
return ListMarkerRole; return ListMarkerRole;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment