Skip to content

Commit

Permalink
[e] (0) note canvas.toBlob() as a future feature
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@5869 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 10, 2011
1 parent d8065e1 commit 8fff28b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
11 changes: 10 additions & 1 deletion complete.html
Expand Up @@ -31597,7 +31597,9 @@ <h4 id=the-canvas-element><span class=secno>4.8.11 </span>The <dfn id=canvas><co
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>
Expand Down Expand Up @@ -31817,13 +31819,20 @@ <h4 id=the-canvas-element><span class=secno>4.8.11 </span>The <dfn id=canvas><co

</dd>

<!-- v5: toBlob -->

</dl><div class=impl>

<p>The <dfn id=dom-canvas-todataurl title=dom-canvas-toDataURL><code>toDataURL()</code></dfn> method
must, when called with no arguments, return a <a href=#data-protocol title="data
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
Expand Down
11 changes: 10 additions & 1 deletion index
Expand Up @@ -31580,7 +31580,9 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> {
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>
Expand Down Expand Up @@ -31800,13 +31802,20 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> {

</dd>

<!-- v5: toBlob -->

</dl><div class=impl>

<p>The <dfn id=dom-canvas-todataurl title=dom-canvas-toDataURL><code>toDataURL()</code></dfn> method
must, when called with no arguments, return a <a href=#data-protocol title="data
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
Expand Down
11 changes: 10 additions & 1 deletion source
Expand Up @@ -34632,7 +34632,9 @@ interface <dfn>TextTrackCue</dfn> {
attribute unsigned long <span title="dom-canvas-width">width</span>;
attribute unsigned long <span title="dom-canvas-height">height</span>;

DOMString <span title="dom-canvas-toDataURL">toDataURL</span>(in optional DOMString type, in any... args);
DOMString <span title="dom-canvas-toDataURL">toDataURL</span>(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 <span title="dom-canvas-getContext">getContext</span>(in DOMString contextId, in any... args);
};</pre>
Expand Down Expand Up @@ -34897,6 +34899,8 @@ interface <dfn>TextTrackCue</dfn> {

</dd>

<!-- v5: toBlob -->

</dl>

<div class="impl">
Expand All @@ -34908,6 +34912,11 @@ interface <dfn>TextTrackCue</dfn> {
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 <span
Expand Down

0 comments on commit 8fff28b

Please sign in to comment.