[html5] r3913 - [] (0) Clarify that drawImage() and createPattern() aren't useless with anamorph [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Sep 19 15:22:08 PDT 2009


Author: ianh
Date: 2009-09-19 15:22:07 -0700 (Sat, 19 Sep 2009)
New Revision: 3913

Modified:
   index
   source
Log:
[] (0) Clarify that drawImage() and createPattern() aren't useless with anamorphic video.

Modified: index
===================================================================
--- index	2009-09-19 22:16:57 UTC (rev 3912)
+++ index	2009-09-19 22:22:07 UTC (rev 3913)
@@ -25049,7 +25049,11 @@
 
   <p>When the <var title="">image</var> argument is an
   <code><a href=#htmlvideoelement>HTMLVideoElement</a></code>, then the frame at the <a href=#current-playback-position>current
-  playback position</a> must be used as the source image.</p>
+  playback position</a> must be used as the source image, and the
+  source image's dimensions must be the <a href=#concept-video-intrinsic-width title=concept-video-intrinsic-width>intrinsic width</a> and
+  <a href=#concept-video-intrinsic-height title=concept-video-intrinsic-height>intrinsic height</a>
+  of the <a href=#media-resource>media resource</a> (i.e. after any aspect-ratio
+  correction has been applied).</p>
   <!-- drawImage() has an equivalent paragraph -->
 
   <!--
@@ -26409,7 +26413,11 @@
 
   <p>When the <var title="">image</var> argument is an
   <code><a href=#htmlvideoelement>HTMLVideoElement</a></code>, then the frame at the <a href=#current-playback-position>current
-  playback position</a> must be used as the source image.</p>
+  playback position</a> must be used as the source image, and the
+  source image's dimensions must be the <a href=#concept-video-intrinsic-width title=concept-video-intrinsic-width>intrinsic width</a> and
+  <a href=#concept-video-intrinsic-height title=concept-video-intrinsic-height>intrinsic height</a>
+  of the <a href=#media-resource>media resource</a> (i.e. after any aspect-ratio
+  correction has been applied).</p>
   <!-- createPattern() has an equivalent paragraph -->
 
   <p>Images are painted without affecting the current path, and are

Modified: source
===================================================================
--- source	2009-09-19 22:16:57 UTC (rev 3912)
+++ source	2009-09-19 22:22:07 UTC (rev 3913)
@@ -27317,7 +27317,12 @@
 
   <p>When the <var title="">image</var> argument is an
   <code>HTMLVideoElement</code>, then the frame at the <span>current
-  playback position</span> must be used as the source image.</p>
+  playback position</span> must be used as the source image, and the
+  source image's dimensions must be the <span
+  title="concept-video-intrinsic-width">intrinsic width</span> and
+  <span title="concept-video-intrinsic-height">intrinsic height</span>
+  of the <span>media resource</span> (i.e. after any aspect-ratio
+  correction has been applied).</p>
   <!-- drawImage() has an equivalent paragraph -->
 
   <!--
@@ -28942,7 +28947,12 @@
 
   <p>When the <var title="">image</var> argument is an
   <code>HTMLVideoElement</code>, then the frame at the <span>current
-  playback position</span> must be used as the source image.</p>
+  playback position</span> must be used as the source image, and the
+  source image's dimensions must be the <span
+  title="concept-video-intrinsic-width">intrinsic width</span> and
+  <span title="concept-video-intrinsic-height">intrinsic height</span>
+  of the <span>media resource</span> (i.e. after any aspect-ratio
+  correction has been applied).</p>
   <!-- createPattern() has an equivalent paragraph -->
 
   <p>Images are painted without affecting the current path, and are




More information about the Commit-Watchers mailing list