HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/7508

File a bug

SVNBugCommentTime (UTC)
750818758Try to avoid using the term 'array' when it's a sequence.2012-11-06 01:54
Index: source
===================================================================
--- source	(revision 7507)
+++ source	(revision 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

|