spec/Overview.html 1.1618 2446 Add DataTransfer.clearData() with no arg

Add DataTransfer.clearData() with no arguments. (credit: nd) (whatwg
r2446)

clearData(format)
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1618.html#dom-datatransfer-cleardata-format
clearData()
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1618.html#dom-datatransfer-cleardata
effectAllowed
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1618.html#dom-datatransfer-effectallowed
DataTransfer
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1618.html#datatransfer

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1617&r2=1.1618&f=h
http://html5.org/tools/web-apps-tracker?from=2445&to=2446

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1617
retrieving revision 1.1618
diff -u -d -r1.1617 -r1.1618
--- Overview.html 26 Nov 2008 00:36:49 -0000 1.1617
+++ Overview.html 26 Nov 2008 01:06:58 -0000 1.1618
@@ -32388,7 +32388,8 @@
            attribute DOMString <a href=#dom-datatransfer-dropeffect title=dom-DataTransfer-dropEffect>dropEffect</a>;
            attribute DOMString <a href=#dom-datatransfer-effectallowed title=dom-DataTransfer-effectAllowed>effectAllowed</a>;
   readonly attribute DOMStringList <a href=#dom-datatransfer-types title=dom-DataTransfer-types>types</a>;
-  void <a href=#dom-datatransfer-cleardata title=dom-DataTransfer-clearData>clearData</a>(in DOMString format);
+  void <a href=#dom-datatransfer-cleardata title=dom-DataTransfer-clearData>clearData</a>();
+  void <a href=#dom-datatransfer-cleardata-format title=dom-DataTransfer-clearData-format>clearData</a>(in DOMString format);
   void <a href=#dom-datatransfer-setdata title=dom-DataTransfer-setData>setData</a>(in DOMString format, in DOMString data);
   DOMString <a href=#dom-datatransfer-getdata title=dom-DataTransfer-getData>getData</a>(in DOMString format);
   void <a href=#dom-datatransfer-setdragimage title=dom-DataTransfer-setDragImage>setDragImage</a>(in Element image, in long x, in long y);
@@ -32417,7 +32418,9 @@
   than <code title="">none</code>, <code title="">copy</code>, <code title="">copyLink</code>, <code title="">copyMove</code>, <code title="">link</code>, <code title="">linkMove</code>, <code title="">move</code>, <code title="">all</code>, and <code title="">uninitialized</code>. On getting, the attribute must return
   the last of those values that it was set to.<p><code><a href=#datatransfer>DataTransfer</a></code> objects can hold pieces of data, each
   associated with a unique format. Formats are generally given by MIME
-  types, with some values special-cased for legacy reasons.<p>The <dfn id=dom-datatransfer-cleardata title=dom-DataTransfer-clearData><code>clearData(<var title="">format</var>)</code></dfn> method must clear the
+  types, with some values special-cased for legacy reasons.<p>The <dfn id=dom-datatransfer-cleardata title=dom-DataTransfer-clearData><code>clearData()</code></dfn>
+  method, with no arguments, must clear the <code><a href=#datatransfer>DataTransfer</a></code>
+  object of al data (for all formats).<p>The <dfn id=dom-datatransfer-cleardata-format title=dom-DataTransfer-clearData-format><code>clearData(<var title="">format</var>)</code></dfn> method must clear the
   <code><a href=#datatransfer>DataTransfer</a></code> object of any data associated with the
   given <var title="">format</var>. If <var title="">format</var> is
   the value "<code title="">Text</code>", then it must be treated as

Received on Wednesday, 26 November 2008 01:10:21 UTC