[html5] r7302 - [e] (0) Be more consistent with WebIDL. Affected topics: Canvas, DOM APIs
whatwg at whatwg.org
whatwg at whatwg.org
Thu Aug 30 12:05:03 PDT 2012
Author: ianh
Date: 2012-08-30 12:05:02 -0700 (Thu, 30 Aug 2012)
New Revision: 7302
Modified:
complete.html
index
source
Log:
[e] (0) Be more consistent with WebIDL.
Affected topics: Canvas, DOM APIs
Modified: complete.html
===================================================================
--- complete.html 2012-08-30 19:03:31 UTC (rev 7301)
+++ complete.html 2012-08-30 19:05:02 UTC (rev 7302)
@@ -36080,12 +36080,12 @@
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>(optional DOMString type, any... args);
- DOMString <a href=#dom-canvas-todataurlhd title=dom-canvas-toDataURLHD>toDataURLHD</a>(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);
- void <a href=#dom-canvas-toblobhd title=dom-canvas-toBlobHD>toBlobHD</a>(<a href=#filecallback>FileCallback</a>? _callback, optional DOMString type, any... args);
+ DOMString <a href=#dom-canvas-todataurl title=dom-canvas-toDataURL>toDataURL</a>(optional DOMString type, any... arguments);
+ DOMString <a href=#dom-canvas-todataurlhd title=dom-canvas-toDataURLHD>toDataURLHD</a>(optional DOMString type, any... arguments);
+ void <a href=#dom-canvas-toblob title=dom-canvas-toBlob>toBlob</a>(<a href=#filecallback>FileCallback</a>? _callback, optional DOMString type, any... arguments);
+ void <a href=#dom-canvas-toblobhd title=dom-canvas-toBlobHD>toBlobHD</a>(<a href=#filecallback>FileCallback</a>? _callback, optional DOMString type, any... arguments);
- object? <a href=#dom-canvas-getcontext title=dom-canvas-getContext>getContext</a>(DOMString contextId, any... args);
+ object? <a href=#dom-canvas-getcontext title=dom-canvas-getContext>getContext</a>(DOMString contextId, any... arguments);
};</pre>
</dd>
</dl><!--REMOVE-TOPIC:DOM APIs--><p>The <code><a href=#the-canvas-element>canvas</a></code> element provides scripts with a
@@ -36233,9 +36233,9 @@
have a <a href=#primary-context>primary context</a>.</p>
- <p>The <dfn id=dom-canvas-getcontext title=dom-canvas-getContext><code>getContext(<var title="">contextId</var>, <var title="">args...</var>)</code></dfn>
- method of the <code><a href=#the-canvas-element>canvas</a></code> element, when invoked, must run
- the following steps:</p>
+ <p>The <dfn id=dom-canvas-getcontext title=dom-canvas-getContext><code>getContext(<var title="">contextId</var>, <var title="">arguments...</var>)</code></dfn> method of the
+ <code><a href=#the-canvas-element>canvas</a></code> element, when invoked, must run the following
+ steps:</p>
<ol><li><p>Let <var title="">contextId</var> be the first argument to
the method.</li>
Modified: index
===================================================================
--- index 2012-08-30 19:03:31 UTC (rev 7301)
+++ index 2012-08-30 19:05:02 UTC (rev 7302)
@@ -36080,12 +36080,12 @@
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>(optional DOMString type, any... args);
- DOMString <a href=#dom-canvas-todataurlhd title=dom-canvas-toDataURLHD>toDataURLHD</a>(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);
- void <a href=#dom-canvas-toblobhd title=dom-canvas-toBlobHD>toBlobHD</a>(<a href=#filecallback>FileCallback</a>? _callback, optional DOMString type, any... args);
+ DOMString <a href=#dom-canvas-todataurl title=dom-canvas-toDataURL>toDataURL</a>(optional DOMString type, any... arguments);
+ DOMString <a href=#dom-canvas-todataurlhd title=dom-canvas-toDataURLHD>toDataURLHD</a>(optional DOMString type, any... arguments);
+ void <a href=#dom-canvas-toblob title=dom-canvas-toBlob>toBlob</a>(<a href=#filecallback>FileCallback</a>? _callback, optional DOMString type, any... arguments);
+ void <a href=#dom-canvas-toblobhd title=dom-canvas-toBlobHD>toBlobHD</a>(<a href=#filecallback>FileCallback</a>? _callback, optional DOMString type, any... arguments);
- object? <a href=#dom-canvas-getcontext title=dom-canvas-getContext>getContext</a>(DOMString contextId, any... args);
+ object? <a href=#dom-canvas-getcontext title=dom-canvas-getContext>getContext</a>(DOMString contextId, any... arguments);
};</pre>
</dd>
</dl><!--REMOVE-TOPIC:DOM APIs--><p>The <code><a href=#the-canvas-element>canvas</a></code> element provides scripts with a
@@ -36233,9 +36233,9 @@
have a <a href=#primary-context>primary context</a>.</p>
- <p>The <dfn id=dom-canvas-getcontext title=dom-canvas-getContext><code>getContext(<var title="">contextId</var>, <var title="">args...</var>)</code></dfn>
- method of the <code><a href=#the-canvas-element>canvas</a></code> element, when invoked, must run
- the following steps:</p>
+ <p>The <dfn id=dom-canvas-getcontext title=dom-canvas-getContext><code>getContext(<var title="">contextId</var>, <var title="">arguments...</var>)</code></dfn> method of the
+ <code><a href=#the-canvas-element>canvas</a></code> element, when invoked, must run the following
+ steps:</p>
<ol><li><p>Let <var title="">contextId</var> be the first argument to
the method.</li>
Modified: source
===================================================================
--- source 2012-08-30 19:03:31 UTC (rev 7301)
+++ source 2012-08-30 19:05:02 UTC (rev 7302)
@@ -41991,12 +41991,12 @@
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>(optional DOMString type, any... args);
- DOMString <span title="dom-canvas-toDataURLHD">toDataURLHD</span>(optional DOMString type, any... args);
- void <span title="dom-canvas-toBlob">toBlob</span>(<span>FileCallback</span>? _callback, optional DOMString type, any... args);
- void <span title="dom-canvas-toBlobHD">toBlobHD</span>(<span>FileCallback</span>? _callback, optional DOMString type, any... args);
+ DOMString <span title="dom-canvas-toDataURL">toDataURL</span>(optional DOMString type, any... arguments);
+ DOMString <span title="dom-canvas-toDataURLHD">toDataURLHD</span>(optional DOMString type, any... arguments);
+ void <span title="dom-canvas-toBlob">toBlob</span>(<span>FileCallback</span>? _callback, optional DOMString type, any... arguments);
+ void <span title="dom-canvas-toBlobHD">toBlobHD</span>(<span>FileCallback</span>? _callback, optional DOMString type, any... arguments);
- object? <span title="dom-canvas-getContext">getContext</span>(DOMString contextId, any... args);
+ object? <span title="dom-canvas-getContext">getContext</span>(DOMString contextId, any... arguments);
};</pre>
</dd>
</dl><!--REMOVE-TOPIC:DOM APIs-->
@@ -42169,9 +42169,10 @@
<!--START complete--><!--START dev-html--><!--2DCONTEXT-->
<p>The <dfn title="dom-canvas-getContext"><code>getContext(<var
- title="">contextId</var>, <var title="">args...</var>)</code></dfn>
- method of the <code>canvas</code> element, when invoked, must run
- the following steps:</p>
+ title="">contextId</var>, <var
+ title="">arguments...</var>)</code></dfn> method of the
+ <code>canvas</code> element, when invoked, must run the following
+ steps:</p>
<ol>
More information about the Commit-Watchers
mailing list