html5/2dcontext Overview.html,1.25,1.26

Update of /sources/public/html5/2dcontext
In directory hutz:/tmp/cvs-serv24992

Modified Files:
	Overview.html 
Log Message:
intro text for drawImage() had incorrect exception info. (whatwg r4883)

Index: Overview.html
===================================================================
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:09:44 UTC