Skip to content

Commit da60177

Browse files
author
Jihye Hong
committed
[css-nav-1] Add the name to the argument
Add the name to the argument for clearer reference
1 parent 04e6285 commit da60177

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-nav-1/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ the User Agent must run the steps described below:
482482
::
483483
1. Return the nearest ancestor of the element that is a <a>spatial navigation container</a>,
484484
or the <a>document</a> if the nearest <a>spatial navigation container</a> is the viewport.
485-
485+
486486
Note: If the element is a <a>spatial navigation container</a>, {{getSpatialNavigationContainer()}} also returns
487487
the nearest <a>spatial navigation container</a>, not the element itself.
488488

@@ -987,8 +987,8 @@ To run the <dfn>spatial navigation steps</dfn> in <var>direction</var>, do the f
987987
* Else, if <var>searchOrigin</var> is either a <a>scroll container</a> or the <a>document</a>
988988
1. Let <var>candidates</var> be the result of <a>finding focusable areas</a>
989989
within <var>searchOrigin</var>
990-
with the argument set to <code>false</code> if computed value of the 'spatial-navigation-action' property on <var>searchOrigin</var> is ''spatial-navigation-action/focus''
991-
or to <code>true</code> otherwise.
990+
with the argument <var>visibleOnly</var> set to <code>false</code> if computed value of the 'spatial-navigation-action' property on <var>searchOrigin</var>
991+
is ''spatial-navigation-action/focus'' or to <code>true</code> otherwise.
992992
2.
993993
* If <var>candidates</var> contains at least 1 item:
994994
1. Let <var>bestCandidate</var> be the result of <a>selecting the best candidate</a>
@@ -1009,7 +1009,7 @@ To run the <dfn>spatial navigation steps</dfn> in <var>direction</var>, do the f
10091009
6. Let <var>container</var> be the nearest ancestor of <var>eventTarget</var> that is a <a>spatial navigation container</a>.
10101010
7. <i>Loop</i>: Let <var>candidates</var> be the result of <a>finding focusable areas</a>
10111011
within <var>container</var>
1012-
with the argument set to <code>false</code>
1012+
with the argument <var>visibleOnly</var> set to <code>false</code>
10131013
if computed value of the 'spatial-navigation-action' property on <var>container</var> is ''spatial-navigation-action/focus''
10141014
or to <code>true</code> otherwise,
10151015
excluding <var>searchOrigin</var>

0 commit comments

Comments
 (0)