Browse files

[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

git-svn-id: http://svn.whatwg.org/webapps@7508 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 1e4754a commit bcad31786db87f740a50ab3cc5ce6a04a07ea439 @Hixie Hixie committed Nov 6, 2012
Showing with 27 additions and 37 deletions.
  1. +9 −12 complete.html
  2. +9 −12 index
  3. +9 −13 source
View
21 complete.html
@@ -37039,7 +37039,7 @@ <h6 id=line-styles><span class=secno>4.8.11.1.4 </span>Line styles</h6>
<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,25 +37139,22 @@ <h6 id=line-styles><span class=secno>4.8.11.1.4 </span>Line styles</h6>
<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
of <var title="">a</var>.</li>
<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
View
21 index
@@ -37039,7 +37039,7 @@ idea from Mihai:
<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,25 +37139,22 @@ idea from Mihai:
<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
of <var title="">a</var>.</li>
<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
View
22 source
@@ -43313,7 +43313,7 @@ idea from Mihai:
<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 @@ idea from Mihai:
<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 @@ idea from Mihai:
</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

0 comments on commit bcad317

Please sign in to comment.