Bug 391671. ARIA trees have incorrect 'level' object attribute. Patch by Alexander Surkov, r=aaronlev, a=dsicore

This commit is contained in:
aaronleventhal@moonset.net 2007-08-10 12:33:55 -07:00
parent fa1135308f
commit 8d432b92a9

View File

@ -2168,7 +2168,7 @@ nsAccessible::GetAttributes(nsIPersistentProperties **aAttributes)
if (role == nsIAccessibleRole::ROLE_OUTLINE)
break;
if (role == nsIAccessibleRole::ROLE_OUTLINEITEM)
if (role == nsIAccessibleRole::ROLE_GROUPING)
++ groupLevel;
parent->GetParent(getter_AddRefs(nextParent));