[html5] r2447 - [e] (0) Clarify what the empty string means when passed to DataTransfer.setData( [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Nov 25 17:26:04 PST 2008


Author: ianh
Date: 2008-11-25 17:26:03 -0800 (Tue, 25 Nov 2008)
New Revision: 2447

Modified:
   index
   source
Log:
[e] (0) Clarify what the empty string means when passed to DataTransfer.setData(). (credit: nd)

Modified: index
===================================================================
--- index	2008-11-26 01:06:54 UTC (rev 2446)
+++ index	2008-11-26 01:26:03 UTC (rev 2447)
@@ -40437,7 +40437,10 @@
 
   <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>
+  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>
 
   <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>

Modified: source
===================================================================
--- source	2008-11-26 01:06:54 UTC (rev 2446)
+++ source	2008-11-26 01:26:03 UTC (rev 2447)
@@ -46048,7 +46048,10 @@
 
   <p><code>DataTransfer</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>
+  types, with some values special-cased for legacy reasons. For the
+  purposes of this API, however, the format strings are opaque,
+  <span>case-sensitive</span>, strings, and the empty string is a
+  valid format string.</p>
 
   <p>The <dfn
   title="dom-DataTransfer-clearData"><code>clearData()</code></dfn>




More information about the Commit-Watchers mailing list