Skip to content

Commit 31b2e80

Browse files
domfarolinodizhang168
authored andcommitted
Editorial: clean up small parts of sequential focus navigation (whatwg#10632)
1 parent dc70a78 commit 31b2e80

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

source

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80783,19 +80783,16 @@ dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {
8078380783
focusable</span>.</p>
8078480784
</li>
8078580785

80786-
<li><p>If <var>candidate</var> is a <span data-x="reading-flow-item">reading flow item</span> or
80787-
null, <var>direction</var> is <i>forward</i>, and <var>starting point</var> is in a
80788-
<span>reading-flow focus navigation scope</span> <var>scope</var>, then let <var>new
80789-
candidate</var> be the result of running the <span>reading flow sequential navigation search
80790-
algorithm</span> given <var>candidate</var>, <var>direction</var>, and <var>starting
80791-
point</var>'s focus navigation <var>scope</var>.</p></li>
80786+
<li>
80787+
<p>If <var>candidate</var> is a <span>navigable container</span> with a non-null <span>content
80788+
navigable</span>, then:</p>
8079280789

80793-
<li><p>If <var>starting point</var> is a <span data-x="reading-flow-item">reading flow
80794-
item</span>, <var>direction</var> is <i>backward</i>, and <var>starting point</var> is in a
80795-
<span>reading-flow focus navigation scope</span> <var>scope</var>, then let <var>new
80796-
candidate</var> be the result of running the <span>reading flow sequential navigation search
80797-
algorithm</span> given <var>starting point</var>, <var>direction</var>, and <var>starting
80798-
point</var>'s focus navigation <var>scope</var>.</p></li>
80790+
<ol>
80791+
<li><p>Let <var>recursive candidate</var> be the result of running the <span>sequential
80792+
navigation search algorithm</span> with <var>candidate</var>'s <span>content navigable</span>,
80793+
<var>direction</var>, and "<code
80794+
data-x="selection-mechanism-sequential">sequential</code>".<!-- shift-tab from the end in
80795+
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2855 --></p></li>
8079980796

8080080797
<li>
8080180798
<p>If <var>candidate</var> is a <span>navigable container</span> with a non-null <span>content
@@ -80812,7 +80809,6 @@ dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {
8081280809
<span>sequential navigation search algorithm</span> with <var>candidate</var>,
8081380810
<var>direction</var>, and <var>selection mechanism</var>.</p></li>
8081480811

80815-
<li><p>Otherwise, set <var>candidate</var> to <var>recursive candidate</var>.</p></li>
8081680812
</ol>
8081780813
</li>
8081880814

0 commit comments

Comments
 (0)