@@ -2628,8 +2628,8 @@ <h2>Timeouts</h2>
2628
2628
Let < var > script duration</ var > be the value of property "< code > script</ code > ".
2629
2629
2630
2630
< li > < p >
2631
- If < var > script duration</ var > is a number and less than 0 or greater than 2 < sup > 16 </ sup > – 1,
2632
- or it is not < a > < code > null</ code > </ a > ,
2631
+ If < var > script duration</ var > is a number and less than 0 or greater than
2632
+ < a > maximum safe integer </ a > , or it is not < a > < code > null</ code > </ a > ,
2633
2633
return < a > error</ a > with < a > error code</ a > < a > invalid argument</ a > .
2634
2634
2635
2635
< li > < p >
@@ -2644,8 +2644,9 @@ <h2>Timeouts</h2>
2644
2644
Let < var > page load duration</ var > be the value of property "< code > pageLoad</ code > ".
2645
2645
2646
2646
< li > < p >
2647
- If < var > page load duration</ var > is less than 0 or greater than 2< sup > 16</ sup > – 1,
2648
- return < a > error</ a > with < a > error code</ a > < a > invalid argument</ a > .
2647
+ If < var > page load duration</ var > is less than 0 or greater than
2648
+ < a > maximum safe integer</ a > , return < a > error</ a > with
2649
+ < a > error code</ a > < a > invalid argument</ a > .
2649
2650
2650
2651
< li > < p >
2651
2652
Set < var > timeouts</ var > ’s < a > page load timeout</ a > to < var > page load duration</ var > .
@@ -2659,8 +2660,9 @@ <h2>Timeouts</h2>
2659
2660
Let < var > implicit duration</ var > be the value of property "< code > implicit</ code > ".
2660
2661
2661
2662
< li > < p >
2662
- If < var > implicit duration</ var > is less than 0 or greater than 2< sup > 16</ sup > – 1,
2663
- return < a > error</ a > with < a > error code</ a > < a > invalid argument</ a > .
2663
+ If < var > implicit duration</ var > is less than 0 or greater than
2664
+ < a > maximum safe integer</ a > , return < a > error</ a > with
2665
+ < a > error code</ a > < a > invalid argument</ a > .
2664
2666
2665
2667
< li > < p >
2666
2668
Set < var > timeouts</ var > ’s < a > implicit wait timeout</ a > to < var > implicit duration</ var > .
@@ -7118,7 +7120,7 @@ <h4 id=input-source-state>State</h4>
7118
7120
< tr >
7119
7121
< td > "< code > wheel</ code > "
7120
7122
< td > < a > wheel input state</ a >
7121
- </ tr >
7123
+ </ tr >
7122
7124
</ table >
7123
7125
7124
7126
< p > A < a > null input source</ a > ’s < a > input source state</ a > is
@@ -7154,7 +7156,7 @@ <h4 id=input-source-state>State</h4>
7154
7156
a < a > pointer input state</ a > object with < code > subtype</ code > set
7155
7157
to < var > subtype</ var > , < code > pressed</ code > set to an empty set and
7156
7158
both < code > x</ code > and < code > y</ code > set to < code > 0</ code > .
7157
-
7159
+
7158
7160
< p > A < a > wheel input source</ a > ’s < a > input source state</ a > is a
7159
7161
< dfn > wheel input state</ dfn > object. This is always an empty object.
7160
7162
@@ -7406,7 +7408,7 @@ <h3>Processing actions</h3>
7406
7408
< dd > Create a new < a > pointer input source</ a > . Let the
7407
7409
new < a > input source</ a > ’s < a > pointer type</ a > be set to the value
7408
7410
of < var > parameters</ var > ’s < code > pointerType</ code > property.
7409
-
7411
+
7410
7412
< dt > "< code > wheel</ code > "
7411
7413
< dd > Create a new < a > wheel input source</ a > .
7412
7414
</ dl >
@@ -7980,7 +7982,7 @@ <h3>Dispatching actions</h3>
7980
7982
< tr > < td > "< code > pointer</ code > " < td > "< code > pointerMove</ code > < td > < a > Dispatch a pointerMove action</ a >
7981
7983
< tr > < td > "< code > pointer</ code > " < td > "< code > pointerCancel</ code > < td > < a > Dispatch a pointerCancel action</ a >
7982
7984
< tr > < td > "< code > wheel</ code > " < td > "< code > pause</ code > " < td > < a > Dispatch a pause action</ a >
7983
- < tr > < td > "< code > wheel</ code > " < td > "< code > scroll</ code > " < td > < a > Dispatch a scroll action</ a >
7985
+ < tr > < td > "< code > wheel</ code > " < td > "< code > scroll</ code > " < td > < a > Dispatch a scroll action</ a >
7984
7986
</ table >
7985
7987
7986
7988
< li > < a > Try</ a > to run < var > algorithm</ var > with arguments
@@ -8804,7 +8806,7 @@ <h4>Wheel actions</h4>
8804
8806
the viewport in < a > CSS pixels</ a > , then
8805
8807
return < a > error</ a > with error code < a > move target out of
8806
8808
bounds</ a > .
8807
-
8809
+
8808
8810
< li > < p > Let < var > delta x</ var > be equal to the < code > deltaX</ code >
8809
8811
property of < var > action object</ var > .
8810
8812
@@ -8866,7 +8868,7 @@ <h4>Wheel actions</h4>
8866
8868
and < var > delta y</ var > equal an approximation to
8867
8869
< var > duration ratio</ var > × < var > target delta y</ var > -
8868
8870
< var > current delta y</ var > .
8869
-
8871
+
8870
8872
< li > < p > If < var > delta x</ var > is not equal to < var > 0</ var > or
8871
8873
< var > delta y</ var > is not equal to < var > 0</ var > ,
8872
8874
run the following steps:
@@ -8878,11 +8880,11 @@ <h4>Wheel actions</h4>
8878
8880
viewport y coordinate < var > y</ var > , deltaX value < var > delta x</ var > ,
8879
8881
deltaY value < var > delta y</ var > , in accordance with the
8880
8882
requirements of [[UI-EVENTS]].
8881
-
8883
+
8882
8884
< li > < p > Let < code > current delta x</ code > property
8883
8885
equal < var > delta x</ var > + < var > current delta x</ var > and
8884
8886
< code > current delta y</ code > property equal
8885
- < var > delta y</ var > + < var > current delta y</ var > .
8887
+ < var > delta y</ var > + < var > current delta y</ var > .
8886
8888
</ ol >
8887
8889
8888
8890
< li > < p > If < var > last</ var > is true, return.
0 commit comments