Skip to content

Commit 27ca698

Browse files
annevkdomenic
authored andcommitted
Editorial: remove unneeded loop in focus algorithm
A document is not a browsing context container by definition so the loop is unneeded.
1 parent 922872b commit 27ca698

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

source

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73239,12 +73239,10 @@ END:VCARD</pre>
7323973239
</ol>
7324073240
</li>
7324173241

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

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

0 commit comments

Comments
 (0)