DescriptionRefine ChromeVox's treatment of containers
1. merge ignored containers and ignored leaf nodes into one predicate
2. only visit containers that are also visited by the provided predicate. For example, an element will match against a focusable toolbar, but a line won't.
3. scan the initial subtree of a node when moving to the next node if either of the following are true:
the node is a container or
the node doesn't match the predicate (e.g. element).
This takes care of syncing when the current range is on an arbitrary position in the tree.
When moving backwards, the leaf predicate restricts how deeply the backwards movement syncs downwards in the tree.
BUG=613473
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/709ec11a4037d0fd97cff6a395d63ef574044d72
Cr-Commit-Position: refs/heads/master@{#397737}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|