Skip to content

Commit

Permalink
Editorial: remove unneeded loop in focus algorithm
Browse files Browse the repository at this point in the history
A document is not a browsing context container by definition so the loop is unneeded.
  • Loading branch information
annevk authored and domenic committed Nov 30, 2020
1 parent 922872b commit 27ca698
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -73239,12 +73239,10 @@ END:VCARD</pre>
</ol>
</li>

<li>
<!-- https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2818 -->
<p>If <var>new focus target</var> is a <span>browsing context container</span> with
non-null <span>nested browsing context</span>, then set <var>new focus target</var> to the
<span>nested browsing context</span>'s <span>active document</span>, and redo this step.</p>
</li>
<li><p>If <var>new focus target</var> is a <span>browsing context container</span> with non-null
<span>nested browsing context</span>, then set <var>new focus target</var> to the <span>nested
browsing context</span>'s <span>active document</span>.</p></li>
<!-- https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2818 -->

<li><p>If <var>new focus target</var> is a <span>focusable area</span> and its <span>DOM
anchor</span> is <span>inert</span>, then return.</p></li>
Expand Down

0 comments on commit 27ca698

Please sign in to comment.