[orca] Examine the tag rather than the role when identifying nested MathML tables
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Examine the tag rather than the role when identifying nested MathML tables
- Date: Thu, 16 Jul 2015 10:46:50 +0000 (UTC)
commit 706db8cd092f8ea3ca8b415258d5dfcce344c030
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Jul 16 12:45:18 2015 +0200
Examine the tag rather than the role when identifying nested MathML tables
src/orca/scripts/web/script_utilities.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index d82ae0d..d0f8776 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -1529,8 +1529,7 @@ class Utilities(script_utilities.Utilities):
return rv
if not test:
- role = obj.getRole()
- test = lambda x: x and x.getRole() == role
+ test = lambda x: self._getTag(x) == self._getTag(obj)
rv = -1
ancestor = obj
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]