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
<dd>The element that will be scrolled if the event is not cancelled
483
+
<dd>The element that will be scrolled if the event is not canceled
484
484
485
485
<dt>{{NavigationEvent}}.{{NavigationEvent/dir}}
486
486
<dd>The direction of the navigation as requested by the user
@@ -799,7 +799,7 @@ the following steps are run to <dfn>react to key presses</dfn>.
799
799
in the <code>forward</code> direction if {{KeyboardEvent/shiftKey}} is <code>false</code>
800
800
or in the <code>backward</code> direction if it is <code>true</code>,
801
801
then return
802
-
11. Else, if the {{KeyboardEvent/key}} is one of <code class=key>ArrowUp</code>,<code class=key>ArrowDown</code>, <code class=key>ArrowLeft</code>, or <code class=key>ArrowRight</code>:
802
+
11. Else, if the {{KeyboardEvent/key}} is one of <code class=key>ArrowUp</code>,<code class=key>ArrowDown</code>, <code class=key>ArrowLeft</code>, or <code class=key>ArrowRight</code>:
803
803
1. Let <var>dir</var> be:
804
804
* <code>up</code> if the {{KeyboardEvent/key}} is <code class=key>ArrowUp</code>
805
805
* <code>down</code> if the {{KeyboardEvent/key}} is <code class=key>ArrowDown</code>
@@ -821,13 +821,13 @@ the following steps are run to <dfn>react to key presses</dfn>.
821
821
where there is no unusual setting of the 'overflow' property on these elements,
822
822
and where no element in particular was focused and
823
823
<var>eventTarget</var> was set to <a>the body element</a> or the <a>document element</a> of the <a>top-level browsing context</a> in steps 1 & 2,
824
-
the condition of this step is not mached,
824
+
the condition of this step is not matched,
825
825
and we fallback to the next step.
826
826
4. Else, if spatial navigation is <a for=spatnav>active</a> on <var>eventTarget</var>
827
827
run the <a>navigation steps</a> on <var>eventTarget</var> in direction <var>dir</var> from <var>startingPoint</var>,
828
828
then return
829
829
5. Else, let <var>ancestor</var> be the nearest ancestor of <var>startingPoint</var> that is a <a>scroll container</a> that <a>can be scrolled manually</a>,
830
-
including in <a>ancestor browsing contexts</a>,
830
+
including in an <a>ancestor browsing contexts</a>,
831
831
or <code>null</code> if no such element can be found.
832
832
833
833
If <var>ancestor</var> is <code>null</code>,
@@ -838,7 +838,7 @@ the following steps are run to <dfn>react to key presses</dfn>.
838
838
Issue: This is how Chrome and Safari do it.
839
839
Firefox only looks at the first ancestor of <var>startingPoint</var>,
840
840
and if that cannot be manually scrolled,
841
-
it stops there rather than look further up the ancestry chain.
841
+
it stops there rather than looking further up the ancestry chain.
0 commit comments