[orca] Fix MathML line navigation issue
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix MathML line navigation issue
- Date: Fri, 28 Aug 2015 15:57:42 +0000 (UTC)
commit 602266852fbc4c02cf2aee0d54a5338eaebafac6
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Aug 28 11:56:42 2015 -0400
Fix MathML line navigation issue
src/orca/scripts/web/script_utilities.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 4c7285b..d96a772 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -1085,8 +1085,8 @@ class Utilities(script_utilities.Utilities):
return objects
firstObj, firstStart, firstEnd, firstString = objects[0]
- if extents[2] == 0 and extents[3] == 0:
- extents = self.getExtents(obj, firstStart, firstEnd)
+ if (extents[2] == 0 and extents[3] == 0) or self.isMath(firstObj):
+ extents = self.getExtents(firstObj, firstStart, firstEnd)
lastObj, lastStart, lastEnd, lastString = objects[-1]
prevObj, pOffset = self.findPreviousCaretInOrder(firstObj, firstStart)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]