mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1176094 - [ATK] Assign role SECTION to math groups instead of PANEL/UNKNOWN. r=surkov
This commit is contained in:
parent
03b0f72e10
commit
b74388fb85
@ -683,7 +683,7 @@ getRoleCB(AtkObject *aAtkObj)
|
||||
else if (aAtkObj->role == ATK_ROLE_TABLE_ROW && !IsAtkVersionAtLeast(2, 1))
|
||||
aAtkObj->role = ATK_ROLE_LIST_ITEM;
|
||||
else if (aAtkObj->role == ATK_ROLE_MATH && !IsAtkVersionAtLeast(2, 12))
|
||||
aAtkObj->role = ATK_ROLE_PANEL;
|
||||
aAtkObj->role = ATK_ROLE_SECTION;
|
||||
else if (aAtkObj->role == ATK_ROLE_STATIC && !IsAtkVersionAtLeast(2, 16))
|
||||
aAtkObj->role = ATK_ROLE_TEXT;
|
||||
else if ((aAtkObj->role == ATK_ROLE_MATH_FRACTION ||
|
||||
|
@ -1122,7 +1122,7 @@ ROLE(MATHML_GLYPH,
|
||||
|
||||
ROLE(MATHML_ROW,
|
||||
"mathml row",
|
||||
ATK_ROLE_PANEL,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1154,7 +1154,7 @@ ROLE(MATHML_ROOT,
|
||||
|
||||
ROLE(MATHML_FENCED,
|
||||
"mathml fenced",
|
||||
ATK_ROLE_PANEL,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1162,7 +1162,7 @@ ROLE(MATHML_FENCED,
|
||||
|
||||
ROLE(MATHML_ENCLOSED,
|
||||
"mathml enclosed",
|
||||
ATK_ROLE_PANEL,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1170,7 +1170,7 @@ ROLE(MATHML_ENCLOSED,
|
||||
|
||||
ROLE(MATHML_STYLE,
|
||||
"mathml style",
|
||||
ATK_ROLE_PANEL,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1178,7 +1178,7 @@ ROLE(MATHML_STYLE,
|
||||
|
||||
ROLE(MATHML_SUB,
|
||||
"mathml sub",
|
||||
ATK_ROLE_UNKNOWN,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1186,7 +1186,7 @@ ROLE(MATHML_SUB,
|
||||
|
||||
ROLE(MATHML_SUP,
|
||||
"mathml sup",
|
||||
ATK_ROLE_UNKNOWN,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1194,7 +1194,7 @@ ROLE(MATHML_SUP,
|
||||
|
||||
ROLE(MATHML_SUB_SUP,
|
||||
"mathml sub sup",
|
||||
ATK_ROLE_UNKNOWN,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1202,7 +1202,7 @@ ROLE(MATHML_SUB_SUP,
|
||||
|
||||
ROLE(MATHML_UNDER,
|
||||
"mathml under",
|
||||
ATK_ROLE_UNKNOWN,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1210,7 +1210,7 @@ ROLE(MATHML_UNDER,
|
||||
|
||||
ROLE(MATHML_OVER,
|
||||
"mathml over",
|
||||
ATK_ROLE_UNKNOWN,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1218,7 +1218,7 @@ ROLE(MATHML_OVER,
|
||||
|
||||
ROLE(MATHML_UNDER_OVER,
|
||||
"mathml under over",
|
||||
ATK_ROLE_UNKNOWN,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1226,7 +1226,7 @@ ROLE(MATHML_UNDER_OVER,
|
||||
|
||||
ROLE(MATHML_MULTISCRIPTS,
|
||||
"mathml multiscripts",
|
||||
ATK_ROLE_UNKNOWN,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1266,7 +1266,7 @@ ROLE(MATHML_CELL,
|
||||
|
||||
ROLE(MATHML_ACTION,
|
||||
"mathml action",
|
||||
ATK_ROLE_UNKNOWN,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
@ -1274,7 +1274,7 @@ ROLE(MATHML_ACTION,
|
||||
|
||||
ROLE(MATHML_ERROR,
|
||||
"mathml error",
|
||||
ATK_ROLE_PANEL,
|
||||
ATK_ROLE_SECTION,
|
||||
NSAccessibilityGroupRole,
|
||||
0,
|
||||
IA2_ROLE_UNKNOWN,
|
||||
|
Loading…
Reference in New Issue
Block a user