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
@@ -540,13 +539,7 @@ the User Agent must run the steps described below:
540
539
if it is not <code>null</code>, the element's nearest <a>spatial navigation container</a> ancestor otherwise.
541
540
3. Let <var>areas</var> be the value of {{SpatialNavigationSearchOptions/candidates}} attribute of <var>options</var>
542
541
if it is not <code>null</code>, result of <a>finding focusable areas</a> within <var>container</var> otherwise.
543
-
4. Let <var>insideFirst</var> be the value of {{SpatialNavigationSearchOptions/inside}} attribute of <var>options</var>
544
-
if it is not <code>null</code>, <code>false</code> otherwise.
545
-
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> among <var>areas</var> within the element with <var>direction</var>.
547
-
* If <var>bestCandidate</var> is not <code>null</code>, return <var>bestCandidate</var>.
548
-
* Else, fall back to the next step.
549
-
6. Return the result of <a>selecting the best candidate</a> among <var>areas</var> in <var>direction</var> from the element.
542
+
4. Return the result of <a>selecting the best candidate</a> among <var>areas</var> within <var>container</var> in <var>direction</var> from the element.
550
543
551
544
Note: When neither a container nor a list of candidates is provided,
552
545
this only searches through the visible focusable areas of the nearest
@@ -622,36 +615,6 @@ and the result will be <code>null</code>.</em>
622
615
</div>
623
616
</div>
624
617
625
-
<div class=example id=searchInside>
626
-
This example shows different results of {{Element/spatialNavigationSearch()}}
627
-
depending on the value of {{SpatialNavigationSearchOptions/inside}} attribute.
0 commit comments