mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1175182 - Expose fractions and roots as ATK_ROLE_PANEL for ATK < 2.16. r=surkov
This commit is contained in:
parent
8770e02920
commit
db18e4ee03
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user