hixie: Define what a number is, for the purposes of toDataURL(). (whatwg r4891)

hixie: Define what a number is, for the purposes of toDataURL(). (whatwg
r4891)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3912&r2=1.3913&f=h
http://html5.org/tools/web-apps-tracker?from=4890&to=4891

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3912
retrieving revision 1.3913
diff -u -d -r1.3912 -r1.3913
--- Overview.html 29 Mar 2010 05:40:43 -0000 1.3912
+++ Overview.html 29 Mar 2010 05:49:37 -0000 1.3913
@@ -22281,6 +22281,11 @@
      its default value, as if the argument had been omitted.</span>
   </table><div class="impl">
 
+  <p>For the purposes of these rules, an argument is considered to be
+  a number if it is converted to an IDL double value by the rules for
+  handling arguments of type <code title="">any</code> in the Web IDL
+  specification. <a href="#refsWEBIDL">[WEBIDL]</a></p>
+
   <p>Other arguments must be ignored and must not cause the user agent
   to raise an exception. A future version of this specification will
   probably define other parameters to be passed to <code title="dom-canvas-toDataURL"><a href="#dom-canvas-todataurl">toDataURL()</a></code> to allow authors to

Received on Monday, 29 March 2010 05:50:16 UTC