зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1732108: Map ATK_ROLE_CONTENT_DELETION/INSERTION. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D126432
This commit is contained in:
Родитель
4547265146
Коммит
f08c138efd
|
@ -622,6 +622,10 @@ AtkRole getRoleCB(AtkObject* aAtkObj) {
|
|||
aAtkObj->role = ATK_ROLE_SECTION;
|
||||
} else if (aAtkObj->role == ATK_ROLE_COMMENT && !IsAtkVersionAtLeast(2, 36)) {
|
||||
aAtkObj->role = ATK_ROLE_SECTION;
|
||||
} else if ((aAtkObj->role == ATK_ROLE_CONTENT_DELETION ||
|
||||
aAtkObj->role == ATK_ROLE_CONTENT_INSERTION) &&
|
||||
!IsAtkVersionAtLeast(2, 34)) {
|
||||
aAtkObj->role = ATK_ROLE_SECTION;
|
||||
}
|
||||
|
||||
return aAtkObj->role;
|
||||
|
|
|
@ -1789,7 +1789,7 @@ ROLE(BLOCKQUOTE,
|
|||
|
||||
ROLE(CONTENT_DELETION,
|
||||
"content deletion",
|
||||
ATK_ROLE_SECTION,
|
||||
ATK_ROLE_CONTENT_DELETION,
|
||||
NSAccessibilityGroupRole,
|
||||
@"AXDeleteStyleGroup",
|
||||
USE_ROLE_STRING,
|
||||
|
@ -1799,7 +1799,7 @@ ROLE(CONTENT_DELETION,
|
|||
|
||||
ROLE(CONTENT_INSERTION,
|
||||
"content insertion",
|
||||
ATK_ROLE_SECTION,
|
||||
ATK_ROLE_CONTENT_INSERTION,
|
||||
NSAccessibilityGroupRole,
|
||||
@"AXInsertStyleGroup",
|
||||
USE_ROLE_STRING,
|
||||
|
|
Загрузка…
Ссылка в новой задаче