W3C home > Mailing lists > Public > public-html-diffs@w3.org > March 2010

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

From: poot <cvsmail@w3.org>
Date: Mon, 29 Mar 2010 14:09:50 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100329050950.693B82BBEC@toro.w3.mag.keio.ac.jp>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:18 GMT