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
<code>innerBtn</code> is assigned to the element whose {{Element/id}} matches with <code>'button1'</code>
650
+
because the {{SpatialNavigationSearchOptions/inside}} attribute is <code>true</code>.
651
+
But if the authors don't specify {{SpatialNavigationSearchOptions/inside}} attribute,
652
+
<code>false</code> is given to it by default.
653
+
Therefore <code>outerBtn</code> is assigned to the element with {{Element/id}}<code>'button2'</code>
654
+
which is outside of <code>container</code>.
655
+
</div>
656
+
632
657
<div class=api>
633
658
<h2 id="events-navigationevent">
634
659
Navigation Events</h2>
@@ -998,8 +1023,8 @@ To run the <dfn>spatial navigation steps</dfn> in <var>direction</var>, do the f
998
1023
<span class=cssapi>* Else if the computed value of the 'spatial-navigation-action' property on <var>eventTarget</var> is not ''spatial-navigation-action/focus''
999
1024
and <var>eventTarget</var><a>can be manually scrolled</a>,
1000
1025
then <a>directionally scroll the element</a><var>eventTarget</var> in <var>direction</var> and return.</span>
1001
-
* Else, fallback to the next step.
1002
-
* Else, fallback to the next step.
1026
+
* Else, fall back to the next step.
1027
+
* Else, fall back to the next step.
1003
1028
5. Let <var>container</var> be the nearest ancestor of <var>eventTarget</var> that is a <a>spatial navigation container</a>.
1004
1029
6. <i>Loop</i>: Let <var>candidates</var> be the result of <a>finding focusable areas</a>
0 commit comments