You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-nav-1/Overview.bs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -482,7 +482,7 @@ the User Agent must run the steps described below:
482
482
::
483
483
1. Return the nearest ancestor of the element that is a <a>spatial navigation container</a>,
484
484
or the <a>document</a> if the nearest <a>spatial navigation container</a> is the viewport.
485
-
485
+
486
486
Note: If the element is a <a>spatial navigation container</a>, {{getSpatialNavigationContainer()}} also returns
487
487
the nearest <a>spatial navigation container</a>, not the element itself.
488
488
@@ -987,8 +987,8 @@ To run the <dfn>spatial navigation steps</dfn> in <var>direction</var>, do the f
987
987
* Else, if <var>searchOrigin</var> is either a <a>scroll container</a> or the <a>document</a>
988
988
1. Let <var>candidates</var> be the result of <a>finding focusable areas</a>
989
989
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.
992
992
2.
993
993
* If <var>candidates</var> contains at least 1 item:
994
994
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
1009
1009
6. Let <var>container</var> be the nearest ancestor of <var>eventTarget</var> that is a <a>spatial navigation container</a>.
1010
1010
7. <i>Loop</i>: Let <var>candidates</var> be the result of <a>finding focusable areas</a>
1011
1011
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>
1013
1013
if computed value of the 'spatial-navigation-action' property on <var>container</var> is ''spatial-navigation-action/focus''
0 commit comments