2Dapi; hixie: intro text for drawImage() had incorrect exception info. (whatwg r4883)

2Dapi; hixie: intro text for drawImage() had incorrect exception info.
(whatwg r4883)

http://dev.w3.org/cvsweb/html5/2dcontext/Overview.html?r1=1.25&r2=1.26&f=h
http://html5.org/tools/web-apps-tracker?from=4882&to=4883

===================================================================
RCS file: /sources/public/html5/2dcontext/Overview.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- Overview.html 17 Mar 2010 23:50:46 -0000 1.25
+++ Overview.html 29 Mar 2010 05:09:40 -0000 1.26
@@ -2605,9 +2605,10 @@
     <code>canvas</code>, or <code>video</code> element, throws a
     <code>TYPE_MISMATCH_ERR</code> exception. If the image has no
     image data, throws an <code>INVALID_STATE_ERR</code> exception. If
-    the second argument isn't one of the allowed values, throws a
-    <code>SYNTAX_ERR</code> exception. If the image isn't yet fully
-    decoded, then nothing is drawn.</p>
+    the numeric arguments don't make sense (e.g. the destination is a
+    0&times;0 rectangle), throws an <code>INDEX_SIZE_ERR</code>
+    exception. If the image isn't yet fully decoded, then nothing is
+    drawn.</p>
 
    </dd>

Received on Monday, 29 March 2010 05:10:18 UTC