[html5] r3407 - [e] (0) Clarify some hard-to-read prose about drawImage() with animated images.

whatwg at whatwg.org whatwg at whatwg.org
Mon Jul 13 23:13:45 PDT 2009


Author: ianh
Date: 2009-07-13 23:13:43 -0700 (Mon, 13 Jul 2009)
New Revision: 3407

Modified:
   index
   source
Log:
[e] (0) Clarify some hard-to-read prose about drawImage() with animated images.

Modified: index
===================================================================
--- index	2009-07-14 05:45:24 UTC (rev 3406)
+++ index	2009-07-14 06:13:43 UTC (rev 3407)
@@ -23472,9 +23472,10 @@
   affected by the current transformation matrix.</p>
 
   <p>When the <code title=dom-context-2d-createPattern><a href=#dom-context-2d-createpattern>createPattern()</a></code> method
-  is passed, as its <var title="">image</var> argument, an animated
-  image, the poster frame of the animation, or the first frame of the
-  animation if there is no poster frame, must be used.</p>
+  is passed an animated image as its <var title="">image</var>
+  argument, the user agent must use the poster frame of the animation,
+  or, if there is no poster frame, the first frame of the
+  animation.</p>
   <!-- drawImage() has an equivalent paragraph -->
 
   <p>When the <var title="">image</var> argument is an
@@ -24810,11 +24811,11 @@
   back onto the canvas, so it is possible to copy parts of a canvas
   onto overlapping parts of itself.</p>
 
-  <p>When the <code title=dom-context-2d-drawImage><a href=#dom-context-2d-drawimage>drawImage()</a></code> method is
-  passed, as its <var title="">image</var> argument, an
-  <code><a href=#htmlimageelement>HTMLImageElement</a></code> representing an animated image, the
-  poster frame of the animation, or the first frame of the animation
-  if there is no poster frame, must be used.</p>
+  <p>When the <code title=dom-context-2d-drawImage><a href=#dom-context-2d-drawimage>drawImage()</a></code> method
+  is passed an animated image as its <var title="">image</var>
+  argument, the user agent must use the poster frame of the animation,
+  or, if there is no poster frame, the first frame of the
+  animation.</p>
   <!-- createPattern() has an equivalent paragraph -->
 
   <p>When the <var title="">image</var> argument is an
@@ -71436,6 +71437,7 @@
   Anders Carlsson,
   Andreas<!-- mqmq87 -->,
   Andrei Popescu,
+  André E. Veltstra,
   Andrew Clover,
   Andrew Gove,
   Andrew Sidwell,

Modified: source
===================================================================
--- source	2009-07-14 05:45:24 UTC (rev 3406)
+++ source	2009-07-14 06:13:43 UTC (rev 3407)
@@ -25569,9 +25569,10 @@
 
   <p>When the <code
   title="dom-context-2d-createPattern">createPattern()</code> method
-  is passed, as its <var title="">image</var> argument, an animated
-  image, the poster frame of the animation, or the first frame of the
-  animation if there is no poster frame, must be used.</p>
+  is passed an animated image as its <var title="">image</var>
+  argument, the user agent must use the poster frame of the animation,
+  or, if there is no poster frame, the first frame of the
+  animation.</p>
   <!-- drawImage() has an equivalent paragraph -->
 
   <p>When the <var title="">image</var> argument is an
@@ -27155,11 +27156,11 @@
   onto overlapping parts of itself.</p>
 
   <p>When the <code
-  title="dom-context-2d-drawImage">drawImage()</code> method is
-  passed, as its <var title="">image</var> argument, an
-  <code>HTMLImageElement</code> representing an animated image, the
-  poster frame of the animation, or the first frame of the animation
-  if there is no poster frame, must be used.</p>
+  title="dom-context-2d-drawImage">drawImage()</code> method
+  is passed an animated image as its <var title="">image</var>
+  argument, the user agent must use the poster frame of the animation,
+  or, if there is no poster frame, the first frame of the
+  animation.</p>
   <!-- createPattern() has an equivalent paragraph -->
 
   <p>When the <var title="">image</var> argument is an
@@ -84276,6 +84277,7 @@
   Anders Carlsson,
   Andreas<!-- mqmq87 -->,
   Andrei Popescu,
+  André E. Veltstra,
   Andrew Clover,
   Andrew Gove,
   Andrew Sidwell,




More information about the Commit-Watchers mailing list