From 0abbbf16b7dedf40338ded2c2ff4bed834d0f68e Mon Sep 17 00:00:00 2001 From: Dorel Luca Date: Thu, 1 Mar 2018 20:32:29 +0200 Subject: [PATCH] Backed out changeset 9ac28273f156 (bug 1440383) as requested by timdream --- accessible/base/nsAccessibilityService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessible/base/nsAccessibilityService.cpp b/accessible/base/nsAccessibilityService.cpp index 415be1e297f0..ddd8c1229272 100644 --- a/accessible/base/nsAccessibilityService.cpp +++ b/accessible/base/nsAccessibilityService.cpp @@ -1472,7 +1472,7 @@ nsAccessibilityService::CreateAccessibleByType(nsIContent* aContent, { nsAutoString role; nsCoreUtils::XBLBindingRole(aContent, role); - if (role.IsEmpty()) + if (role.IsEmpty() || role.EqualsLiteral("none")) return nullptr; RefPtr accessible;