Fix an invariant description for the ImageData APIs. (whatwg r3228)

Fix an invariant description for the ImageData APIs. (whatwg r3228)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2376&r2=1.2377&f=h
http://html5.org/tools/web-apps-tracker?from=3227&to=3228

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2376
retrieving revision 1.2377
diff -u -d -r1.2376 -r1.2377
--- Overview.html 12 Jun 2009 03:22:11 -0000 1.2376
+++ Overview.html 12 Jun 2009 03:42:50 -0000 1.2377
@@ -22581,11 +22581,13 @@
   this specification, except that the following must result in no
   visible changes to the rendering:</p>
 
-  <pre>context.putImageData(context.getImageData(x, y, w, h), x, y);</pre>
+  <pre>context.putImageData(context.getImageData(x, y, w, h), p, q);</pre>
 
   <p>...for any value of <var title="">x</var>, <var title="">y</var>,
-  <var title="">w</var>, and <var title="">h</var>, and the following
-  two calls:</p>
+  <var title="">w</var>, and <var title="">h</var> and where <var title="">p</var> is the smaller of <var title="">x</var> and the sum
+  of <var title="">x</var> and <var title="">w</var>, and <var title="">q</var> is the smaller of <var title="">y</var> and the sum
+  of <var title="">y</var> and <var title="">h</var>; and except that
+  the following two calls:</p>
 
   <pre>context.createImageData(w, h);
 context.getImageData(0, 0, w, h);</pre>

Received on Friday, 12 June 2009 03:43:43 UTC