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.
142142 whose computed value of the 'overflow-anchor' property is ''overflow-anchor/none'' ,
143143 then do not select an anchor node for |S|.
144144 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+
147151 3. Otherwise, for each DOM child |N| of the element or document associated with |S|,
148152 perform the <a>candidate examination algorithm</a> for |N| in |S|,
149153 and terminate if it selects an anchor node.
@@ -345,3 +349,4 @@ Changes Since the Feb 11 2020 Working Draft</h3>
345349
346350 * Added definitions of [=viable candidate=] and [=priority candidate=] .
347351 * 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