[html5] r7847 - [e] (0) Clarify what we mean by 'poster frame' of an animation. Fixing https://w [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 22 16:51:49 PDT 2013


Author: ianh
Date: 2013-04-22 16:51:48 -0700 (Mon, 22 Apr 2013)
New Revision: 7847

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clarify what we mean by 'poster frame' of an animation.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21296
Affected topics: Canvas, DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2013-04-22 18:01:54 UTC (rev 7846)
+++ complete.html	2013-04-22 23:51:48 UTC (rev 7847)
@@ -35642,8 +35642,9 @@
   element's image must be used as the source image.</p>
 
   <p>Specifically, when a <code><a href=#canvasimagesource>CanvasImageSource</a></code> object represents an animated image in an
-  <code><a href=#htmlimageelement>HTMLImageElement</a></code>, the user agent must use the poster frame of the animation, or, if
-  there is no poster frame, the first frame of the animation, when rendering the image for
+  <code><a href=#htmlimageelement>HTMLImageElement</a></code>, the user agent must use the default image of the animation (the
+  one that the format defines is to be used when animation is not supported or is disabled), or, if
+  there is no such image, the first frame of the animation, when rendering the image for
   <code><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> APIs.</p>
 
   <p>When a <code><a href=#canvasimagesource>CanvasImageSource</a></code> object represents an <code><a href=#htmlvideoelement>HTMLVideoElement</a></code>, then
@@ -57107,6 +57108,7 @@
 
   </dl><div class=impl>
 
+<!--CLEANUP-->
   <p>When the <dfn id=dom-dialog-show title=dom-dialog-show><code>show()</code></dfn>
   method is invoked, the user agent must run the following steps:</p>
 
@@ -73698,8 +73700,9 @@
 
      <li><p>Let the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the <code><a href=#the-img-element>img</a></code>
      element's media data, <a href=#cropped-to-the-source-rectangle>cropped to the source rectangle</a>. If this is an animated
-     image, the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the
-     animation's poster frame, or, if there is no poster frame, the first frame of the
+     image, the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the default
+     image of the animation (the one that the format defines is to be used when animation is not
+     supported or is disabled), or, if there is no such image, the first frame of the
      animation.</li>
 
      <li><p>Return, but continue running these steps asynchronously.</li>
@@ -73801,8 +73804,9 @@
 
      <li><p>Let the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be the image data read from the
      <code><a href=#blob>Blob</a></code> object, <a href=#cropped-to-the-source-rectangle>cropped to the source rectangle</a>. If this is an animated
-     image, the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the
-     animation's poster frame, or, if there is no poster frame, the first frame of the
+     image, the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the default
+     image of the animation (the one that the format defines is to be used when animation is not
+     supported or is disabled), or, if there is no such image, the first frame of the
      animation.</li>
 
      <li><p><a href=#queue-a-task>Queue a task</a> to invoke <var title="">callback</var> with the new

Modified: index
===================================================================
--- index	2013-04-22 18:01:54 UTC (rev 7846)
+++ index	2013-04-22 23:51:48 UTC (rev 7847)
@@ -35642,8 +35642,9 @@
   element's image must be used as the source image.</p>
 
   <p>Specifically, when a <code><a href=#canvasimagesource>CanvasImageSource</a></code> object represents an animated image in an
-  <code><a href=#htmlimageelement>HTMLImageElement</a></code>, the user agent must use the poster frame of the animation, or, if
-  there is no poster frame, the first frame of the animation, when rendering the image for
+  <code><a href=#htmlimageelement>HTMLImageElement</a></code>, the user agent must use the default image of the animation (the
+  one that the format defines is to be used when animation is not supported or is disabled), or, if
+  there is no such image, the first frame of the animation, when rendering the image for
   <code><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> APIs.</p>
 
   <p>When a <code><a href=#canvasimagesource>CanvasImageSource</a></code> object represents an <code><a href=#htmlvideoelement>HTMLVideoElement</a></code>, then
@@ -57107,6 +57108,7 @@
 
   </dl><div class=impl>
 
+<!--CLEANUP-->
   <p>When the <dfn id=dom-dialog-show title=dom-dialog-show><code>show()</code></dfn>
   method is invoked, the user agent must run the following steps:</p>
 
@@ -73698,8 +73700,9 @@
 
      <li><p>Let the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the <code><a href=#the-img-element>img</a></code>
      element's media data, <a href=#cropped-to-the-source-rectangle>cropped to the source rectangle</a>. If this is an animated
-     image, the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the
-     animation's poster frame, or, if there is no poster frame, the first frame of the
+     image, the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the default
+     image of the animation (the one that the format defines is to be used when animation is not
+     supported or is disabled), or, if there is no such image, the first frame of the
      animation.</li>
 
      <li><p>Return, but continue running these steps asynchronously.</li>
@@ -73801,8 +73804,9 @@
 
      <li><p>Let the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be the image data read from the
      <code><a href=#blob>Blob</a></code> object, <a href=#cropped-to-the-source-rectangle>cropped to the source rectangle</a>. If this is an animated
-     image, the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the
-     animation's poster frame, or, if there is no poster frame, the first frame of the
+     image, the <code><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the default
+     image of the animation (the one that the format defines is to be used when animation is not
+     supported or is disabled), or, if there is no such image, the first frame of the
      animation.</li>
 
      <li><p><a href=#queue-a-task>Queue a task</a> to invoke <var title="">callback</var> with the new

Modified: source
===================================================================
--- source	2013-04-22 18:01:54 UTC (rev 7846)
+++ source	2013-04-22 23:51:48 UTC (rev 7847)
@@ -38738,8 +38738,9 @@
   element's image must be used as the source image.</p>
 
   <p>Specifically, when a <code>CanvasImageSource</code> object represents an animated image in an
-  <code>HTMLImageElement</code>, the user agent must use the poster frame of the animation, or, if
-  there is no poster frame, the first frame of the animation, when rendering the image for
+  <code>HTMLImageElement</code>, the user agent must use the default image of the animation (the
+  one that the format defines is to be used when animation is not supported or is disabled), or, if
+  there is no such image, the first frame of the animation, when rendering the image for
   <code>CanvasRenderingContext2D</code> APIs.</p>
 
   <p>When a <code>CanvasImageSource</code> object represents an <code>HTMLVideoElement</code>, then
@@ -63383,6 +63384,7 @@
 
   <div class="impl">
 
+<!--CLEANUP-->
   <p>When the <dfn title="dom-dialog-show"><code>show()</code></dfn>
   method is invoked, the user agent must run the following steps:</p>
 
@@ -82684,8 +82686,9 @@
 
      <li><p>Let the <code>ImageBitmap</code> object's bitmap data be a copy of the <code>img</code>
      element's media data, <span>cropped to the source rectangle</span>. If this is an animated
-     image, the <code>ImageBitmap</code> object's bitmap data must only be taken from the
-     animation's poster frame, or, if there is no poster frame, the first frame of the
+     image, the <code>ImageBitmap</code> object's bitmap data must only be taken from the default
+     image of the animation (the one that the format defines is to be used when animation is not
+     supported or is disabled), or, if there is no such image, the first frame of the
      animation.</p></li>
 
      <li><p>Return, but continue running these steps asynchronously.</p></li>
@@ -82807,8 +82810,9 @@
 
      <li><p>Let the <code>ImageBitmap</code> object's bitmap data be the image data read from the
      <code>Blob</code> object, <span>cropped to the source rectangle</span>. If this is an animated
-     image, the <code>ImageBitmap</code> object's bitmap data must only be taken from the
-     animation's poster frame, or, if there is no poster frame, the first frame of the
+     image, the <code>ImageBitmap</code> object's bitmap data must only be taken from the default
+     image of the animation (the one that the format defines is to be used when animation is not
+     supported or is disabled), or, if there is no such image, the first frame of the
      animation.</p></li>
 
      <li><p><span>Queue a task</span> to invoke <var title="">callback</var> with the new




More information about the Commit-Watchers mailing list