@@ -7334,7 +7334,7 @@ <h3>Processing actions</h3>
7334
7334
7335
7335
< li > < p > If < var > type</ var > is
7336
7336
not "< code > key</ code > ", "< code > pointer</ code > ",
7337
- "< code > wheel</ code > ", or "< code > none</ code > ",
7337
+ "< code > wheel</ code > ", or "< code > none</ code > ",
7338
7338
return an < a > error</ a > with
7339
7339
< a > error code</ a > < a > invalid argument</ a > .
7340
7340
@@ -7721,11 +7721,11 @@ <h3>Processing actions</h3>
7721
7721
return < a > error</ a > with < a > error code</ a > < a > invalid argument</ a > .
7722
7722
7723
7723
< li > < p >
7724
- Set the < code > deltaX </ code > property of < var > action</ var > to < var > deltaX </ var > .
7724
+ Set the < code > delta x </ code > property of < var > action</ var > to < var > delta x </ var > .
7725
7725
7726
7726
< li > < p >
7727
- Let < var > deltaY </ var > be the result of < a > getting the property</ a >
7728
- < code > deltaY </ code > from < var > action item</ var > .
7727
+ Let < var > delta y </ var > be the result of < a > getting the property</ a >
7728
+ < code > delta y </ code > from < var > action item</ var > .
7729
7729
7730
7730
< li > < p >
7731
7731
If < var > deltaY</ var > is not < a > undefined</ a > and is not an < a > Integer</ a > ,
@@ -7734,6 +7734,10 @@ <h3>Processing actions</h3>
7734
7734
< li > < p >
7735
7735
Set the < code > deltaY</ code > property of < var > action</ var > to < var > deltaY</ var > .
7736
7736
7737
+ < li > < p >
7738
+ If < var > delta x</ var > is not < a > undefined</ a > and is not an < a > Integer</ a > ,
7739
+ return < a > error</ a > with < a > error code</ a > < a > invalid argument</ a > .
7740
+
7737
7741
< li > < p >
7738
7742
Return < a > success</ a > with data < var > action</ var > .
7739
7743
</ ol >
@@ -7941,16 +7945,16 @@ <h3>Dispatching actions</h3>
7941
7945
< code > subtype</ code > property, to a dispatch action algorithm.
7942
7946
7943
7947
< table class =simple >
7944
- < tr > < th > < var > source type</ var > < th > < code > subtype</ code > property < th > Dispatch action algorithm
7945
- < tr > < td > "< code > none</ code > " < td > "< code > pause</ code > " < td > < a > Dispatch a pause action</ a >
7946
- < tr > < td > "< code > key</ code > " < td > "< code > pause</ code > " < td > < a > Dispatch a pause action</ a >
7947
- < tr > < td > "< code > key</ code > " < td > "< code > keyDown</ code > " < td > < a > Dispatch a keyDown action</ a >
7948
- < tr > < td > "< code > key</ code > " < td > "< code > keyUp</ code > " < td > < a > Dispatch a keyUp action</ a >
7949
- < tr > < td > "< code > pointer</ code > " < td > "< code > pause</ code > " < td > < a > Dispatch a pause action</ a >
7950
- < tr > < td > "< code > pointer</ code > " < td > "< code > pointerDown</ code > " < td > < a > Dispatch a pointerDown action</ a >
7951
- < tr > < td > "< code > pointer</ code > " < td > "< code > pointerUp</ code > " < td > < a > Dispatch a pointerUp action</ a >
7952
- < tr > < td > "< code > pointer</ code > " < td > "< code > pointerMove</ code > < td > < a > Dispatch a pointerMove action</ a >
7953
- < tr > < td > "< code > pointer</ code > " < td > "< code > pointerCancel</ code > < td > < a > Dispatch a pointerCancel action</ a >
7948
+ < tr > < th > < var > source type</ var > < th > < code > subtype</ code > property < th > Dispatch action algorithm
7949
+ < tr > < td > "< code > none</ code > " < td > "< code > pause</ code > " < td > < a > Dispatch a pause action</ a >
7950
+ < tr > < td > "< code > key</ code > " < td > "< code > pause</ code > " < td > < a > Dispatch a pause action</ a >
7951
+ < tr > < td > "< code > key</ code > " < td > "< code > keyDown</ code > " < td > < a > Dispatch a keyDown action</ a >
7952
+ < tr > < td > "< code > key</ code > " < td > "< code > keyUp</ code > " < td > < a > Dispatch a keyUp action</ a >
7953
+ < tr > < td > "< code > pointer</ code > " < td > "< code > pause</ code > " < td > < a > Dispatch a pause action</ a >
7954
+ < tr > < td > "< code > pointer</ code > " < td > "< code > pointerDown</ code > " < td > < a > Dispatch a pointerDown action</ a >
7955
+ < tr > < td > "< code > pointer</ code > " < td > "< code > pointerUp</ code > " < td > < a > Dispatch a pointerUp action</ a >
7956
+ < tr > < td > "< code > pointer</ code > " < td > "< code > pointerMove</ code > < td > < a > Dispatch a pointerMove action</ a >
7957
+ < tr > < td > "< code > pointer</ code > " < td > "< code > pointerCancel</ code > < td > < a > Dispatch a pointerCancel action</ a >
7954
7958
< tr > < td > "< code > wheel</ code > " < td > "< code > pause</ code > " < td > < a > Dispatch a pause action</ a >
7955
7959
< tr > < td > "< code > wheel</ code > " < td > "< code > scroll</ code > " < td > < a > Dispatch a scroll action</ a >
7956
7960
</ table >
@@ -8848,13 +8852,15 @@ <h4>Wheel actions</h4>
8848
8852
< var > current delta y</ var > .
8849
8853
8850
8854
< p > Otherwise let < var > delta x</ var > equal an approximation
8851
- to < var > duration ratio</ var > × < var > target delta x</ var > ,
8855
+ to < var > duration ratio</ var > × < var > target delta x</ var > -
8856
+ < var > current delta x</ var > ,
8852
8857
and < var > delta y</ var > equal an approximation to
8853
- < var > duration ratio</ var > × < var > target delta y</ var > .
8858
+ < var > duration ratio</ var > × < var > target delta y</ var > -
8859
+ < var > current delta y</ var > .
8854
8860
8855
- < li > < p > If < var > current delta x</ var > is not equal to
8856
- < var > target delta x </ var > or < var > current delta y </ var > is not equal
8857
- to < var > target delta y </ var > , run the following steps:
8861
+ < li > < p > If < var > delta x</ var > is not equal to < var > 0 </ var > or
8862
+ < var > delta y </ var > is not equal to < var > 0 </ var > ,
8863
+ run the following steps:
8858
8864
8859
8865
< ol >
8860
8866
< li > < p > < a > Perform implementation-specific
0 commit comments