Skip to content

Commit abbb2d6

Browse files
author
Jihye Hong
committed
Modify the description of spatialNavigationSearch()
1 parent c57b5e0 commit abbb2d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-nav-1/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,10 +543,10 @@ the User Agent must run the steps described below:
543543
4. Let <var>insideFirst</var> be the value of {{SpatialNavigationSearchOptions/inside}} attribute of <var>options</var>
544544
if it is not <code>null</code>, <code>false</code> otherwise.
545545
5. If <var>insideFirst</var> is <code>true</code>,
546-
then let <var>bestCandidate</var> be the result of <a>selecting the best candidate</a> within element with <var>direction</var>.
546+
then let <var>bestCandidate</var> be the result of <a>selecting the best candidate</a> among <var>areas</var> within the element with <var>direction</var>.
547547
* If <var>bestCandidate</var> is not <code>null</code>, return <var>bestCandidate</var>.
548548
* Else, fall back to the next step.
549-
6. Return the result of <a>selecting the best candidate</a> within <var>areas</var> in <var>direction</var> from the element.
549+
6. Return the result of <a>selecting the best candidate</a> among <var>areas</var> in <var>direction</var> from the element.
550550

551551
Note: When neither a container nor a list of candidates is provided,
552552
this only searches through the visible focusable areas of the nearest

0 commit comments

Comments
 (0)