- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 10 Feb 2011 22:43:15 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv21379 Modified Files: Overview.html Log Message: note canvas.toBlob() as a future feature (whatwg r5869) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4711 retrieving revision 1.4712 diff -u -d -r1.4711 -r1.4712 --- Overview.html 10 Feb 2011 21:28:59 -0000 1.4711 +++ Overview.html 10 Feb 2011 22:43:11 -0000 1.4712 @@ -25933,7 +25933,9 @@ attribute unsigned long <a href="#dom-canvas-width" title="dom-canvas-width">width</a>; attribute unsigned long <a href="#dom-canvas-height" title="dom-canvas-height">height</a>; - DOMString <a href="#dom-canvas-todataurl" title="dom-canvas-toDataURL">toDataURL</a>(in optional DOMString type, in any... args); + DOMString <a href="#dom-canvas-todataurl" title="dom-canvas-toDataURL">toDataURL</a>(in optional DOMString type, in any... args);<!-- + v5: + <span>Blob</span> <span title="dom-canvas-toBlob">toBlob</span>(in optional DOMString type, in any... args);--> object <a href="#dom-canvas-getcontext" title="dom-canvas-getContext">getContext</a>(in DOMString contextId, in any... args); };</pre> @@ -26122,6 +26124,8 @@ </dd> + <!-- v5: toBlob --> + </dl><div class="impl"> <p>The <dfn id="dom-canvas-todataurl" title="dom-canvas-toDataURL"><code>toDataURL()</code></dfn> method @@ -26129,6 +26133,11 @@ protocol"><code title="">data:</code> URL</a> containing a representation of the image as a PNG file. <a href="#refsPNG">[PNG]</a> <a href="#refsRFC2397">[RFC2397]</a></p> +<!-- + v5: + <span>Blob</span> <span title="dom-canvas-toBlob">toBlob</span>(in optional DOMString type, in any... args); +--> + <p>If the canvas has no pixels (i.e. either its horizontal dimension or its vertical dimension is zero) then the method must return the string "<code title="">data:,</code>". (This is the shortest <a href="#data-protocol" title="data protocol"><code title="">data:</code> URL</a>; it
Received on Thursday, 10 February 2011 22:43:17 UTC