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
<li><p>Let <var>candidate</var> be this <code>Document</code> object.</p></li>
73500
73501
73501
-
<li><p>Let <var>candidate</var> be the <code>Document</code> on which the method was
73502
-
invoked.</p></li>
73503
-
73504
-
<li><p>If <var>candidate</var> has a <span>dialog group</span> with a designated
73505
-
<span>focused dialog of the dialog group</span>, then let <var>candidate</var> be the
73506
-
designated <span>focused dialog of the dialog group</span>, and redo this step.</p></li>
73507
-
73508
-
<li><p>If <var>candidate</var> has a non-empty <span>control group</span>, let <var>candidate</var> be the designated <span>focused area of the control
73509
-
group</span>.</p>
73510
-
73511
-
</li>
73512
-
73513
-
<li><p>If <var>candidate</var> is a <span>focusable area</span>, let <var>candidate</var> be <var>candidate</var>'s <span>DOM anchor</span>.</p></li>
73502
+
<li><p>While <var>candidate</var> has a <span>dialog group</span> with a designated
73503
+
<span>focused dialog of the dialog group</span>, set <var>candidate</var> to the
73504
+
designated <span>focused dialog of the dialog group</span>.</p></li>
73514
73505
73515
-
<li>
73516
-
73517
-
<p>If <var>candidate</var> is a <code>Document</code> that has a <span data-x="the
73518
-
body element">body element</span>, then let <var>candidate</var> be <span>the body
73519
-
element</span> of that <code>Document</code>.</p>
73506
+
<li><p>If <var>candidate</var> has a non-empty <span>control group</span>, then set
73507
+
<var>candidate</var> to the designated <span>focused area of the control group</span>.</p></li>
73520
73508
73521
-
<p>Otherwise, if <var>candidate</var> is a <code>Document</code> with a non-null <span>document
73522
-
element</span>, then let <var>candidate</var> be that <span>document element</span>.</p>
73509
+
<li><p>If <var>candidate</var> is a <span>focusable area</span>, then set <var>candidate</var> to
0 commit comments