Skip to content

Commit

Permalink
[e] (0) Update references
Browse files Browse the repository at this point in the history
Affected topics: Canvas, DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@6947 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 31, 2012
1 parent e21b1c9 commit 8270df8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
13 changes: 9 additions & 4 deletions complete.html
Expand Up @@ -3917,6 +3917,11 @@ <h4 id=dependencies><span class=secno>2.2.2 </span>Dependencies</h4>
<li><dfn id=file><code>File</code></dfn></li>
<li><dfn id=filelist><code>FileList</code></dfn></li>

</ul><p>It also uses the following interface defined in the File System
API specification: <a href=#refsFILESYSTEMAPI>[FILESYSTEMAPI]</a></p>

<ul class=brief><li><dfn id=filecallback><code>FileCallback</code></dfn></li>

</ul></dd>

<dt>Web IDL</dt>
Expand Down Expand Up @@ -34253,7 +34258,7 @@ <h4 id=the-canvas-element><span class=secno>4.8.11 </span>The <dfn id=canvas><co
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>(optional DOMString type, any... args);
void <a href=#dom-canvas-toblob title=dom-canvas-toBlob>toBlob</a>(<span>FileCallback</span>? callback, optional DOMString type, any... args);
void <a href=#dom-canvas-toblob title=dom-canvas-toBlob>toBlob</a>(<a href=#filecallback>FileCallback</a>? callback, optional DOMString type, any... args);

object? <a href=#dom-canvas-getcontext title=dom-canvas-getContext>getContext</a>(DOMString contextId, any... args);
};</pre>
Expand Down Expand Up @@ -34566,7 +34571,7 @@ <h4 id=the-canvas-element><span class=secno>4.8.11 </span>The <dfn id=canvas><co

<p>Otherwise, let <var title="">result</var> be a
<code><a href=#blob>Blob</a></code> object representing <a href=#a-serialization-of-the-image-as-a-file>a serialization of the
image as a file</a>, using <var title="">arguments</var>.</p>
image as a file</a>, using <var title="">arguments</var>. <a href=#refsFILEAPI>[FILEAPI]</a> </p>

</li>

Expand All @@ -34577,9 +34582,9 @@ <h4 id=the-canvas-element><span class=secno>4.8.11 </span>The <dfn id=canvas><co
steps.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to invoke the
<code>FileCallback</code> <var title="">callback</var> with <var title="">result</var> as its argument. The <a href=#task-source>task source</a>
<code><a href=#filecallback>FileCallback</a></code> <var title="">callback</var> with <var title="">result</var> as its argument. The <a href=#task-source>task source</a>
for this task is the <dfn id=canvas-blob-serialization-task-source>canvas blob serialization task
source</dfn>. <a href=#refsFILESYSTEMAPI>[FILESYSTEMAPI]</a> <a href=#refsFILEAPI>[FILEAPI]</a> </li>
source</dfn>. <a href=#refsFILESYSTEMAPI>[FILESYSTEMAPI]</a></li>

</ol><p>When a user agent is to create <dfn id=a-serialization-of-the-image-as-a-file>a serialization of the image
as a file</dfn>, optionally with some given <var title="">arguments</var>, it must create an image file in the format
Expand Down
13 changes: 9 additions & 4 deletions index
Expand Up @@ -3917,6 +3917,11 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<li><dfn id=file><code>File</code></dfn></li>
<li><dfn id=filelist><code>FileList</code></dfn></li>

</ul><p>It also uses the following interface defined in the File System
API specification: <a href=#refsFILESYSTEMAPI>[FILESYSTEMAPI]</a></p>

<ul class=brief><li><dfn id=filecallback><code>FileCallback</code></dfn></li>

</ul></dd>

<dt>Web IDL</dt>
Expand Down Expand Up @@ -34253,7 +34258,7 @@ dictionary <dfn id=trackeventinit>TrackEventInit</dfn> : <a href=#eventinit>Even
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>(optional DOMString type, any... args);
void <a href=#dom-canvas-toblob title=dom-canvas-toBlob>toBlob</a>(<span>FileCallback</span>? callback, optional DOMString type, any... args);
void <a href=#dom-canvas-toblob title=dom-canvas-toBlob>toBlob</a>(<a href=#filecallback>FileCallback</a>? callback, optional DOMString type, any... args);

object? <a href=#dom-canvas-getcontext title=dom-canvas-getContext>getContext</a>(DOMString contextId, any... args);
};</pre>
Expand Down Expand Up @@ -34566,7 +34571,7 @@ dictionary <dfn id=trackeventinit>TrackEventInit</dfn> : <a href=#eventinit>Even

<p>Otherwise, let <var title="">result</var> be a
<code><a href=#blob>Blob</a></code> object representing <a href=#a-serialization-of-the-image-as-a-file>a serialization of the
image as a file</a>, using <var title="">arguments</var>.</p>
image as a file</a>, using <var title="">arguments</var>. <a href=#refsFILEAPI>[FILEAPI]</a> </p>

</li>

Expand All @@ -34577,9 +34582,9 @@ dictionary <dfn id=trackeventinit>TrackEventInit</dfn> : <a href=#eventinit>Even
steps.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to invoke the
<code>FileCallback</code> <var title="">callback</var> with <var title="">result</var> as its argument. The <a href=#task-source>task source</a>
<code><a href=#filecallback>FileCallback</a></code> <var title="">callback</var> with <var title="">result</var> as its argument. The <a href=#task-source>task source</a>
for this task is the <dfn id=canvas-blob-serialization-task-source>canvas blob serialization task
source</dfn>. <a href=#refsFILESYSTEMAPI>[FILESYSTEMAPI]</a> <a href=#refsFILEAPI>[FILEAPI]</a> </li>
source</dfn>. <a href=#refsFILESYSTEMAPI>[FILESYSTEMAPI]</a></li>

</ol><p>When a user agent is to create <dfn id=a-serialization-of-the-image-as-a-file>a serialization of the image
as a file</dfn>, optionally with some given <var title="">arguments</var>, it must create an image file in the format
Expand Down
17 changes: 14 additions & 3 deletions source
Expand Up @@ -2879,6 +2879,16 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</ul>

<p>It also uses the following interface defined in the File System
API specification: <a
href="#refsFILESYSTEMAPI">[FILESYSTEMAPI]</a></p>

<ul class="brief">

<li><dfn><code>FileCallback</code></dfn></li>

</ul>

</dd>

<dt>Web IDL</dt>
Expand Down Expand Up @@ -40208,7 +40218,8 @@ dictionary <dfn>TrackEventInit</dfn> : <span>EventInit</span> {

<p>Otherwise, let <var title="">result</var> be a
<code>Blob</code> object representing <span>a serialization of the
image as a file</span>, using <var title="">arguments</var>.</p>
image as a file</span>, using <var title="">arguments</var>. <a
href="#refsFILEAPI">[FILEAPI]</a> </p>

</li>

Expand All @@ -40222,8 +40233,8 @@ dictionary <dfn>TrackEventInit</dfn> : <span>EventInit</span> {
<code>FileCallback</code> <var title="">callback</var> with <var
title="">result</var> as its argument. The <span>task source</span>
for this task is the <dfn>canvas blob serialization task
source</dfn>. <a href="#refsFILESYSTEMAPI">[FILESYSTEMAPI]</a> <a
href="#refsFILEAPI">[FILEAPI]</a> </p></li>
source</dfn>. <a
href="#refsFILESYSTEMAPI">[FILESYSTEMAPI]</a></p></li>

</ol>

Expand Down

0 comments on commit 8270df8

Please sign in to comment.