@@ -119,14 +119,16 @@ following criteria:
119
119
* |C| is not in an <a>excluded subtree</a>
120
120
* None of the ancestors of |C| up to |S| are in an <a>excluded subtree</a>
121
121
122
- Some elements are considered to be <dfn
123
- id="anchor-priority-candidates"> priority candidates</dfn> for anchor selection:
124
- 1. The [=DOM anchor=] of the [=focused area of the document=] , if such an anchor
125
- is text editable ([=editable=] , [=editing host=] , [=mutable=] <{textarea}> , or
126
- [=mutable=] <{input}> with a type that allows text entry).
127
- 2. An element containing the current [=active match=] of the
128
- find-in-page user-agent algorithm. If the match spans multiple elements, then
129
- consider only the first such element.
122
+ Some elements are considered to be
123
+ <dfn id="anchor-priority-candidates" export lt="anchor priority candidate" local-lt="priority candidate">anchor priority candidates</dfn>
124
+ for anchor selection:
125
+
126
+ 1. The [=DOM anchor=] of the [=focused area of the document=] , if such an anchor
127
+ is text editable ([=editable=] , [=editing host=] , [=mutable=] <{textarea}> , or
128
+ [=mutable=] <{input}> with a type that allows text entry).
129
+ 2. An element containing the current [=active match=] of the
130
+ find-in-page user-agent algorithm. If the match spans multiple elements, then
131
+ consider only the first such element.
130
132
131
133
Note that if the <a>priority candidate</a> is a non-<a>atomic inline</a>
132
134
element, then instead consider its nearest ancestor element that is not a
0 commit comments