Chromium Code Reviews
DescriptionAdd a |skipInitialAncestry| option to tree walking.
This is important when we want to ignore ancestry chain when moving backward. For example, suppose CV focus is on a static texxt, searching backwards for a heading, we might end up at an ancestor of the static text. This is undesirable.
Also, made the phases useful by using them for |skipInitialSubtree| and |skipInitialAncestry|.
TEST=AutomationTreeWalkerTest.*
In a Google search results page, navigate by headings and links. Ensure consistency of navigation (we should land on the individual links inside of the headings).
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/391186ab1240b07335ecf82e0504441c5db3c9f7
Cr-Commit-Position: refs/heads/master@{#391870}
Patch Set 1 #Patch Set 2 : Add test #Patch Set 3 : #
Dependent Patchsets: Messages
Total messages: 16 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||