HTML Standard Tracker

Diff (omit for latest revision)
Filter

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

File a bug

SVNBugCommentTime (UTC)
3913Clarify that drawImage() and createPattern() aren't useless with anamorphic video.2009-09-19 22:22
Index: source
===================================================================
--- source	(revision 3912)
+++ source	(revision 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

|