HTML Standard Tracker

Diff (omit for latest revision)
Filter

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

File a bug

SVNBugCommentTime (UTC)
7724Try to clarify off-canvas drawing with drawImage.2013-02-17 03:08
Index: source
===================================================================
--- source	(revision 7723)
+++ source	(revision 7724)
@@ -43368,9 +43368,14 @@
     (<var title="">dx</var>, <span title=""><var title="">dy</var>+<var
     title="">dh</var></span>).</p>
 
-    <p>When the source rectangle is outside the source image, it must be clipped to the source
-    image, and the destination rectangle must be clipped in the same proportion.</p>
+    <p>When the source rectangle is outside the source image, the source rectangle must be clipped
+    to the source image and the destination rectangle must be clipped in the same proportion.</p>
 
+    <p class="note">When the destination rectangle is outside the destination image (the
+    <span>scratch bitmap</span>), the pixels that land outside the <span>scratch bitmap</span> are
+    discarded, as if the destination was an infinite canvas whose rendering was clipped to the
+    dimensions of the <span>scratch bitmap</span>.</p>
+
    </li>
 
    <li><p>If one of the <var title="">sw</var> or <var title="">sh</var> arguments is zero, abort
@@ -119212,6 +119217,7 @@
   Jason Lustig,
   Jason White,
   Jasper Bryant-Greene,
+  Jasper St. Pierre,
   Jatinder Mann,
   Jed Hartman,
   Jeff Balogh,

|