Skip to content

Commit

Permalink
Don't change focus when re-focusing delegatesFocus shadow host
Browse files Browse the repository at this point in the history
  • Loading branch information
josepharhar authored and pmeenan committed Dec 2, 2022
1 parent 2a8eaf3 commit 9b95be5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions source
Expand Up @@ -76781,9 +76781,11 @@ partial interface <span id="NavigatorUserActivation-partial">Navigator</span> {

<dd>
<ol>
<li><p>If <var>focus target</var> is a <span>shadow-including inclusive ancestor</span> of the
<span>currently focused area of a top-level traversable</span>'s <span>DOM anchor</span>, then
return null.</p></li>
<li><p>Let <var>focusedElement</var> be the <span>currently focused area of a top-level
traversable</span>'s <span>DOM anchor</span>.</p></li>

<li><p>If <var>focus target</var> is a <span>shadow-including inclusive ancestor</span> of
<var>focusedElement</var>, then return <var>focusedElement</var>.</p></li>

<li><p>Return the <span>focus delegate</span> for <var>focus target</var> given <var>focus
trigger</var>.</p></li>
Expand Down

0 comments on commit 9b95be5

Please sign in to comment.