From 318f9b2387da01b93421e3597a856db48cf392c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Tue, 16 Jun 2015 10:44:00 -0400 Subject: [PATCH] Bug 1175182 - Expose fractions and roots as ATK_ROLE_PANEL for ATK < 2.16. r=surkov --- accessible/atk/AccessibleWrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessible/atk/AccessibleWrap.cpp b/accessible/atk/AccessibleWrap.cpp index 0dd7dfec201..50d35d2699c 100644 --- a/accessible/atk/AccessibleWrap.cpp +++ b/accessible/atk/AccessibleWrap.cpp @@ -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; }