[orca] Increase the likelihood that inline list items will be presented as one line
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Increase the likelihood that inline list items will be presented as one line
- Date: Fri, 8 Feb 2019 17:51:12 +0000 (UTC)
commit f5d182dc23e834a062b43d7f88356a677f9557a1
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Feb 8 12:49:30 2019 -0500
Increase the likelihood that inline list items will be presented as one line
src/orca/scripts/web/script_utilities.py | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 07fad4611..7c3054dec 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -1410,6 +1410,10 @@ class Utilities(script_utilities.Utilities):
objects = []
extents = self.getExtents(obj, offset, offset + 1)
+ if self.isInlineListDescendant(obj):
+ container = self.listForInlineListDescendant(obj)
+ if container:
+ extents = self.getExtents(container, 0, 1)
def _include(x):
if x in objects:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]