[html5] r7508 - [e] (0) Try to avoid using the term 'array' when it's a sequence. Fixing https:/ [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Nov 5 17:54:28 PST 2012
Author: ianh
Date: 2012-11-05 17:54:26 -0800 (Mon, 05 Nov 2012)
New Revision: 7508
Modified:
complete.html
index
source
Log:
[e] (0) Try to avoid using the term 'array' when it's a sequence.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18758
Affected topics: Canvas
Modified: complete.html
===================================================================
--- complete.html 2012-11-06 01:06:19 UTC (rev 7507)
+++ complete.html 2012-11-06 01:54:26 UTC (rev 7508)
@@ -37039,7 +37039,7 @@
<dd>
<p>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.</p>
</dd>
@@ -37139,14 +37139,12 @@
<p>When the <dfn id=dom-context-2d-setlinedash title=dom-context-2d-setLineDash><code>setLineDash()</code></dfn>
method is invoked, it must run the following steps:</p>
- <ol><li><p>Let <var title="">a</var> be a copy of the array provided as
- the argument.</li>
+ <ol><li><p>Let <var title="">a</var> be the argument.</li>
- <li><p>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).</li>
+ <li><p>If any value in <var title="">a</var> 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).</li>
<li><p>If the number of elements in <var title="">a</var> is odd,
then let <var title="">a</var> be the concatentation of two copies
@@ -37154,10 +37152,9 @@
<li><p>Let the object's <a href=#dash-list>dash list</a> be <var title="">a</var>.</li>
- </ol><p>When the <dfn id=dom-context-2d-getlinedash title=dom-context-2d-getLineDash><code>getLineDash()</code></dfn>
- method is invoked, it must return a newly created array whose values
- are the values of the object's <a href=#dash-list>dash list</a>, in the same
- order.</p>
+ </ol><p>When the <dfn id=dom-context-2d-getlinedash title=dom-context-2d-getLineDash><code>getLineDash()</code></dfn> method is
+ invoked, it must return a sequence whose values are the values of the object's <a href=#dash-list>dash
+ list</a>, in the same order.</p>
<p>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
Modified: index
===================================================================
--- index 2012-11-06 01:06:19 UTC (rev 7507)
+++ index 2012-11-06 01:54:26 UTC (rev 7508)
@@ -37039,7 +37039,7 @@
<dd>
<p>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.</p>
</dd>
@@ -37139,14 +37139,12 @@
<p>When the <dfn id=dom-context-2d-setlinedash title=dom-context-2d-setLineDash><code>setLineDash()</code></dfn>
method is invoked, it must run the following steps:</p>
- <ol><li><p>Let <var title="">a</var> be a copy of the array provided as
- the argument.</li>
+ <ol><li><p>Let <var title="">a</var> be the argument.</li>
- <li><p>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).</li>
+ <li><p>If any value in <var title="">a</var> 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).</li>
<li><p>If the number of elements in <var title="">a</var> is odd,
then let <var title="">a</var> be the concatentation of two copies
@@ -37154,10 +37152,9 @@
<li><p>Let the object's <a href=#dash-list>dash list</a> be <var title="">a</var>.</li>
- </ol><p>When the <dfn id=dom-context-2d-getlinedash title=dom-context-2d-getLineDash><code>getLineDash()</code></dfn>
- method is invoked, it must return a newly created array whose values
- are the values of the object's <a href=#dash-list>dash list</a>, in the same
- order.</p>
+ </ol><p>When the <dfn id=dom-context-2d-getlinedash title=dom-context-2d-getLineDash><code>getLineDash()</code></dfn> method is
+ invoked, it must return a sequence whose values are the values of the object's <a href=#dash-list>dash
+ list</a>, in the same order.</p>
<p>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
Modified: source
===================================================================
--- source 2012-11-06 01:06:19 UTC (rev 7507)
+++ source 2012-11-06 01:54:26 UTC (rev 7508)
@@ -43313,7 +43313,7 @@
<dd>
<p>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.</p>
</dd>
@@ -43434,14 +43434,12 @@
<ol>
- <li><p>Let <var title="">a</var> be a copy of the array provided as
- the argument.</p></li>
+ <li><p>Let <var title="">a</var> be the argument.</p></li>
- <li><p>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).</p></li>
+ <li><p>If any value in <var title="">a</var> 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).</p></li>
<li><p>If the number of elements in <var title="">a</var> is odd,
then let <var title="">a</var> be the concatentation of two copies
@@ -43452,11 +43450,9 @@
</ol>
- <p>When the <dfn
- title="dom-context-2d-getLineDash"><code>getLineDash()</code></dfn>
- method is invoked, it must return a newly created array whose values
- are the values of the object's <span>dash list</span>, in the same
- order.</p>
+ <p>When the <dfn title="dom-context-2d-getLineDash"><code>getLineDash()</code></dfn> method is
+ invoked, it must return a sequence whose values are the values of the object's <span>dash
+ list</span>, in the same order.</p>
<p>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
More information about the Commit-Watchers
mailing list