diff --git a/complete.html b/complete.html index 8d273d89578..c558afd1bc1 100644 --- a/complete.html +++ b/complete.html @@ -37039,7 +37039,7 @@
Sets the current line dash pattern (as used when stroking). The - argument is an array of distances for which to alternately have + argument is a list of distances for which to alternately have the line on and the line off.
When the setLineDash()
method is invoked, it must run the following steps:
Let a be a copy of the array provided as - the argument.
Let a be the argument.
If any value in the array is not finite (e.g. an Infinity or - a NaN value), or if any value is negative (less than zero), then - abort these steps (without throwing an exception; user agents could - show a message on a developer console, though, as that would be - helpful for debugging).
If any value in a is not finite (e.g. an Infinity or a NaN value), or + if any value is negative (less than zero), then abort these steps (without throwing an exception; + user agents could show a message on a developer console, though, as that would be helpful for + debugging).
If the number of elements in a is odd, then let a be the concatentation of two copies @@ -37154,10 +37152,9 @@
Let the object's dash list be a.
When the getLineDash()
- method is invoked, it must return a newly created array whose values
- are the values of the object's dash list, in the same
- order.
When the getLineDash()
method is
+ invoked, it must return a sequence whose values are the values of the object's dash
+ list, in the same order.
It is sometimes useful to change the "phase" of the dash pattern, e.g. to achieve a "marching ants" effect. The phase can be set using diff --git a/index b/index index 8d273d89578..c558afd1bc1 100644 --- a/index +++ b/index @@ -37039,7 +37039,7 @@ idea from Mihai:
Sets the current line dash pattern (as used when stroking). The - argument is an array of distances for which to alternately have + argument is a list of distances for which to alternately have the line on and the line off.
When the setLineDash()
method is invoked, it must run the following steps:
Let a be a copy of the array provided as - the argument.
Let a be the argument.
If any value in the array is not finite (e.g. an Infinity or - a NaN value), or if any value is negative (less than zero), then - abort these steps (without throwing an exception; user agents could - show a message on a developer console, though, as that would be - helpful for debugging).
If any value in a is not finite (e.g. an Infinity or a NaN value), or + if any value is negative (less than zero), then abort these steps (without throwing an exception; + user agents could show a message on a developer console, though, as that would be helpful for + debugging).
If the number of elements in a is odd, then let a be the concatentation of two copies @@ -37154,10 +37152,9 @@ idea from Mihai:
Let the object's dash list be a.
When the getLineDash()
- method is invoked, it must return a newly created array whose values
- are the values of the object's dash list, in the same
- order.
When the getLineDash()
method is
+ invoked, it must return a sequence whose values are the values of the object's dash
+ list, in the same order.
It is sometimes useful to change the "phase" of the dash pattern, e.g. to achieve a "marching ants" effect. The phase can be set using diff --git a/source b/source index b419df14f0e..ed232ffa3ae 100644 --- a/source +++ b/source @@ -43313,7 +43313,7 @@ idea from Mihai:
Sets the current line dash pattern (as used when stroking). The - argument is an array of distances for which to alternately have + argument is a list of distances for which to alternately have the line on and the line off.
Let a be a copy of the array provided as - the argument.
Let a be the argument.
If any value in the array is not finite (e.g. an Infinity or - a NaN value), or if any value is negative (less than zero), then - abort these steps (without throwing an exception; user agents could - show a message on a developer console, though, as that would be - helpful for debugging).
If any value in a is not finite (e.g. an Infinity or a NaN value), or + if any value is negative (less than zero), then abort these steps (without throwing an exception; + user agents could show a message on a developer console, though, as that would be helpful for + debugging).
If the number of elements in a is odd, then let a be the concatentation of two copies @@ -43452,11 +43450,9 @@ idea from Mihai:
When the getLineDash()
- method is invoked, it must return a newly created array whose values
- are the values of the object's dash list, in the same
- order.
When the getLineDash()
method is
+ invoked, it must return a sequence whose values are the values of the object's dash
+ list, in the same order.
It is sometimes useful to change the "phase" of the dash pattern, e.g. to achieve a "marching ants" effect. The phase can be set using