- From: poot <cvsmail@w3.org>
- Date: Wed, 26 Nov 2008 10:29:11 +0900 (JST)
- To: public-html-diffs@w3.org
Clarify what the empty string means when passed to DataTransfer.setData(). (credit: nd) (whatwg r2447) clearData(format) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1619.html#dom-datatransfer-cleardata-format clearData() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1619.html#dom-datatransfer-cleardata effectAllowed http://people.w3.org/mike/diffs/html5/spec/Overview.1.1619.html#dom-datatransfer-effectallowed http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1618&r2=1.1619&f=h http://html5.org/tools/web-apps-tracker?from=2446&to=2447 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1618 retrieving revision 1.1619 diff -u -d -r1.1618 -r1.1619 --- Overview.html 26 Nov 2008 01:06:58 -0000 1.1618 +++ Overview.html 26 Nov 2008 01:26:07 -0000 1.1619 @@ -32418,7 +32418,10 @@ 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()</code></dfn> + types, with some values special-cased for legacy reasons. For the + purposes of this API, however, the format strings are opaque, + <a href=#case-sensitive>case-sensitive</a>, strings, and the empty string is a + valid format string.<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
Received on Wednesday, 26 November 2008 01:29:47 UTC