[orca] Chromium: Update support for changes in Chromium list item markers
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Chromium: Update support for changes in Chromium list item markers
- Date: Fri, 31 Jan 2020 00:08:11 +0000 (UTC)
commit 8103afc80d7a4ec4528fd2cbb6cf1af298f1615e
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Thu Jan 30 19:06:38 2020 -0500
Chromium: Update support for changes in Chromium list item markers
We have a reliable tag now, and the text is no longer an embedded
object character.
src/orca/scripts/toolkits/Chromium/script_utilities.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Chromium/script_utilities.py
b/src/orca/scripts/toolkits/Chromium/script_utilities.py
index 535880c75..f2706c6a5 100644
--- a/src/orca/scripts/toolkits/Chromium/script_utilities.py
+++ b/src/orca/scripts/toolkits/Chromium/script_utilities.py
@@ -99,11 +99,7 @@ class Utilities(web.Utilities):
if rv is not None:
return rv
- rv = not self._getTag(obj) \
- and obj.parent.getRole() == pyatspi.ROLE_LIST_ITEM \
- and obj.getIndexInParent() == 0 \
- and obj.parent.queryText().getText(0, 1) == self.EMBEDDED_OBJECT_CHARACTER
-
+ rv = self._getTag(obj) == "::marker" and obj.parent.getRole() == pyatspi.ROLE_LIST_ITEM
self._isListItemMarker[hash(obj)] = rv
return rv
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]