HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
7724Try to clarify off-canvas drawing with drawImage.2013-02-17 03:08
@@ -43361,22 +43361,27 @@ v6DVT (also check for '- -' bits in the part above) -->
     (<var title="">sx</var>, <span title=""><var title="">sy</var>+<var
     title="">sh</var></span>).</p>
 
     <p>The destination rectangle is the rectangle whose corners are the four points (<var
     title="">dx</var>, <var title="">dy</var>), (<span title=""><var title="">dx</var>+<var
     title="">dw</var></span>, <var title="">dy</var>), (<span title=""><var title="">dx</var>+<var
     title="">dw</var></span>, <span title=""><var title="">dy</var>+<var title="">dh</var></span>),
     (<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
    these steps. Nothing is painted.</p></li>
 
    <li>
 
     <p>Paint the region of the <var title="">image</var> argument specified by the source rectangle
     on the region of the rendering context's <span>scratch bitmap</span> specified by the
@@ -119205,20 +119210,21 @@ if (s = prompt('What is your name?')) {
   James Perrett,
   James Robinson,
   Jamie Lokier,
   Janusz Majnert,
   Jan-Klaas Kollhof,
   Jason Duell,
   Jason Kersey,
   Jason Lustig,
   Jason White,
   Jasper Bryant-Greene,
+  Jasper St. Pierre,
   Jatinder Mann,
   Jed Hartman,
   Jeff Balogh,
   Jeff Cutsinger,
   Jeff Schiller,
   Jeff Walden,
   Jeffrey Zeldman,
   &#32993;&#24935;&#37586; (Jennifer Braithwaite),
   Jens Bannmann,
   Jens Fendler,

|