Bug 1175182 - Expose fractions and roots as ATK_ROLE_PANEL for ATK < 2.16. r=surkov

This commit is contained in:
Frédéric Wang 2015-06-16 10:44:00 -04:00
parent 8770e02920
commit db18e4ee03

View File

@ -688,7 +688,7 @@ getRoleCB(AtkObject *aAtkObj)
aAtkObj->role = ATK_ROLE_TEXT;
else if ((aAtkObj->role == ATK_ROLE_MATH_FRACTION ||
aAtkObj->role == ATK_ROLE_MATH_ROOT) && !IsAtkVersionAtLeast(2, 16))
aAtkObj->role = ATK_ROLE_UNKNOWN;
aAtkObj->role = ATK_ROLE_SECTION;
return aAtkObj->role;
}