File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -142,8 +142,12 @@ non-atomic inline element as the priority candidate.
142
142
whose computed value of the 'overflow-anchor' property is ''overflow-anchor/none'' ,
143
143
then do not select an anchor node for |S|.
144
144
2. Otherwise, for each <a>priority candidate</a> |PC| in order specified,
145
- check if |PC| is a <a>viable candidate</a> in |S|. If so, select it as an
146
- anchor node and terminate.
145
+ check if |PC| is a <a>viable candidate</a> in |S|.
146
+ If so, perform the <a>candidate examination algorithm</a> for |PC| in |S| and terminate.
147
+
148
+ Note: Since the priority candidate itself is checked to be viable, the <a>candidate examination algorithm</a>
149
+ is guaranteed to select at least the candidate node itself.
150
+
147
151
3. Otherwise, for each DOM child |N| of the element or document associated with |S|,
148
152
perform the <a>candidate examination algorithm</a> for |N| in |S|,
149
153
and terminate if it selects an anchor node.
@@ -345,3 +349,4 @@ Changes Since the Feb 11 2020 Working Draft</h3>
345
349
346
350
* Added definitions of [=viable candidate=] and [=priority candidate=] .
347
351
* Clarified interaction between scroll anchoring and [=scroll snapping=] .
352
+ * Added a step to run <a>candidate examination algorithm</a> on viable priority candidates.
You can’t perform that action at this time.
0 commit comments