Browse files

[] (0) Clarify that drawImage() and createPattern() aren't useless wi…

…th anamorphic video.

git-svn-id: http://svn.whatwg.org/webapps@3913 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 28635f7 commit 06e3541ea8277a5a39616c75ff3f61a6732cdc8a @Hixie Hixie committed Sep 19, 2009
Showing with 22 additions and 4 deletions.
  1. +10 −2 index
  2. +12 −2 source
View
12 index
@@ -25049,7 +25049,11 @@ idea from Mihai:
<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 @@ v4DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
<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
View
14 source
@@ -27317,7 +27317,12 @@ idea from Mihai:
<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 @@ v4DVT (also check for '- -' bits in the part above) -->
<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

0 comments on commit 06e3541

Please sign in to comment.