html5/spec-author-view Overview.html,1.628,1.629 dnd.html,1.17,1.18 spec.html,1.633,1.634

Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv28577

Modified Files:
	Overview.html dnd.html spec.html 
Log Message:
Make the drag-and-drop API lowercase all the format strings. (whatwg r4645)

[updated by splitter]


Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.628
retrieving revision 1.629
diff -u -d -r1.628 -r1.629
--- Overview.html	4 Feb 2010 01:47:10 -0000	1.628
+++ Overview.html	4 Feb 2010 02:37:09 -0000	1.629
@@ -302,7 +302,7 @@
    </dl><p>This specification is available in the following formats: 
     <a href="spec.html">single page HTML</a>,
     <a href="Overview.html">multipage HTML</a>.
-This is revision 1.3698.
+This is revision 1.3699.
    </p> 
    <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2009 <a href="http://www.w3.org/"><abbr title="World Wide

Index: dnd.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/dnd.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- dnd.html	4 Feb 2010 01:47:10 -0000	1.17
+++ dnd.html	4 Feb 2010 02:37:09 -0000	1.18
@@ -329,6 +329,20 @@
 
        Ack: Ben Laurie (@g)
 
+     * Promises. Should be able to say "if you accept this drop, then
+       I can provide the File object that corresponds to it
+       eventually".
+
+     * Exposing more information about each item. Best idea (from
+       Eduard Pascual) is to have a new attribute on dataTransfer
+       that's a list of items, each of which has:
+
+           .kind = text data, File data, promise
+           .type = a MIME type
+           .getData(callback) = calls the callback once the data is available
+           .setData(value) = replace the value
+           .remove() = removes the entry
+
 --><p>This section defines an event-based drag-and-drop mechanism.</p><p>This specification does not define exactly what a
   <em>drag-and-drop operation</em> actually is.</p><p>On a visual medium with a pointing device, a drag operation could
   be the default action of a <code title="event-mousedown">mousedown</code> event that is followed by a
@@ -446,9 +460,10 @@
 };</pre><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
   <a href="infrastructure.html#mime-type" title="MIME type">MIME types</a>, with some values
-  special-cased for legacy reasons. For the purposes of this API,
-  however, the format strings are opaque, <a href="infrastructure.html#case-sensitive">case-sensitive</a>,
-  strings, and the empty string is a valid format string.</p><dl class="domintro"><dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-dropEffect"><a href="#dom-datatransfer-dropeffect">dropEffect</a></code> [ = <var title="">value</var> ]</dt>
+  special-cased for legacy reasons. However, the API does not enforce
+  this; non-MIME-type values can be added as well. All formats are
+  identified by strings that are <a href="#converted-to-ascii-lowercase">converted to ASCII
+  lowercase</a> by the API.</p><dl class="domintro"><dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-dropEffect"><a href="#dom-datatransfer-dropeffect">dropEffect</a></code> [ = <var title="">value</var> ]</dt>
 
    <dd>
 

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.633
retrieving revision 1.634
diff -u -d -r1.633 -r1.634
--- spec.html	4 Feb 2010 01:47:10 -0000	1.633
+++ spec.html	4 Feb 2010 02:37:09 -0000	1.634
@@ -300,7 +300,7 @@
    </dl><p>This specification is available in the following formats: 
     <a href=spec.html>single page HTML</a>,
     <a href=Overview.html>multipage HTML</a>.
-This is revision 1.3698.
+This is revision 1.3699.
    </p> 
    <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a>
    © 2009 <a href=http://www.w3.org/><abbr title="World Wide
@@ -23333,6 +23333,20 @@
 
        Ack: Ben Laurie (@g)
 
+     * Promises. Should be able to say "if you accept this drop, then
+       I can provide the File object that corresponds to it
+       eventually".
+
+     * Exposing more information about each item. Best idea (from
+       Eduard Pascual) is to have a new attribute on dataTransfer
+       that's a list of items, each of which has:
+
+           .kind = text data, File data, promise
+           .type = a MIME type
+           .getData(callback) = calls the callback once the data is available
+           .setData(value) = replace the value
+           .remove() = removes the entry
+
 --><p>This section defines an event-based drag-and-drop mechanism.</p><p>This specification does not define exactly what a
   <em>drag-and-drop operation</em> actually is.</p><p>On a visual medium with a pointing device, a drag operation could
   be the default action of a <code title=event-mousedown>mousedown</code> event that is followed by a
@@ -23450,9 +23464,10 @@
 };</pre><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
   <a href=#mime-type title="MIME type">MIME types</a>, 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><dl class=domintro><dt><var title="">dataTransfer</var> . <code title=dom-DataTransfer-dropEffect><a href=#dom-datatransfer-dropeffect>dropEffect</a></code> [ = <var title="">value</var> ]</dt>
+  special-cased for legacy reasons. However, the API does not enforce
+  this; non-MIME-type values can be added as well. All formats are
+  identified by strings that are <a href=#converted-to-ascii-lowercase>converted to ASCII
+  lowercase</a> by the API.</p><dl class=domintro><dt><var title="">dataTransfer</var> . <code title=dom-DataTransfer-dropEffect><a href=#dom-datatransfer-dropeffect>dropEffect</a></code> [ = <var title="">value</var> ]</dt>
 
    <dd>
 

Received on Thursday, 4 February 2010 02:37:12 UTC