[orca] Finding the next/previous caret in Gecko should not call isLayoutOnly()



commit 4472377e0ff17c45684d6a0469d5bd0193f622e6
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Nov 5 15:30:55 2013 -0500

    Finding the next/previous caret in Gecko should not call isLayoutOnly()

 src/orca/scripts/toolkits/Gecko/script.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 72aaa51..56458a1 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -3051,8 +3051,7 @@ class Script(default.Script):
             except:
                 pass
 
-        elif includeNonText and (startOffset < 0) \
-             and (not self.utilities.isLayoutOnly(obj)):
+        elif includeNonText and (startOffset < 0):
             extents = obj.queryComponent().getExtents(0)
             if (extents.width != 0) and (extents.height != 0):
                 return [obj, 0]
@@ -3162,8 +3161,7 @@ class Script(default.Script):
             except:
                 pass
 
-        elif includeNonText and (startOffset < 0) \
-            and (not self.utilities.isLayoutOnly(obj)):
+        elif includeNonText and (startOffset < 0):
             extents = obj.queryComponent().getExtents(0)
             if (extents.width != 0) and (extents.height != 0):
                 return [obj, 0]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]