You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This regressed in 90a60b2, which
accidentally removed the step which lets the recursion continue by
setting the current object to the appropriate "owner" document. Even
though control group owner objects are removed, we still need to
traverse up to the document in focus chain computation.
While here, this rewrites the algorithm to use a loop instead of a goto
for clarity.
Closes#6161.
<p class="note">The chain starts with <var>subject</var> and (if <var>subject</var> is or can be the <span>currently focused area of a top-level browsing
72747
-
context</span>) continues up the focus hierarchy up to the <code>Document</code> of the
72748
-
<span>top-level browsing context</span>.</p>
72761
+
<p class="note">The chain starts with <var>subject</var> and (if <var>subject</var> is or can be
72762
+
the <span>currently focused area of a top-level browsing context</span>) continues up the focus
72763
+
hierarchy up to the <code>Document</code> of the <span>top-level browsing context</span>.</p>
0 commit comments