html5/spec-author-view Overview.html,1.730,1.731 dnd.html,1.22,1.23 spec.html,1.735,1.736

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

Modified Files:
	Overview.html dnd.html spec.html 
Log Message:
update the straw man dataTransfer.items proposal (whatwg r4788)

[updated by splitter]


Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.730
retrieving revision 1.731
diff -u -d -r1.730 -r1.731
--- Overview.html	22 Feb 2010 23:07:02 -0000	1.730
+++ Overview.html	22 Feb 2010 23:57:09 -0000	1.731
@@ -306,7 +306,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.3835.
+This is revision 1.3836.
    </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.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- dnd.html	22 Feb 2010 23:07:03 -0000	1.22
+++ dnd.html	22 Feb 2010 23:57:09 -0000	1.23
@@ -339,11 +339,21 @@
        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
+        dataTransfer.items = DataTransferItems
+
+         DataTransferItems.length
+                          .getItem(n) = DataTransferItem
+                          .add(stringData, type)
+                          .add(blobData)
+                          .add(fileData)
+                          .add(dataTransferItem)
+                          .clear()
+
+         DataTransferItem.kind = 'string', 'file', 'blob', ...
+                         .type = MIME type
+                         .binary = boolean
+                         .getTextData(function callback (data)) - throws if binary is true
+                         .getBlob() - returns File or Blob
 
 --><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

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.735
retrieving revision 1.736
diff -u -d -r1.735 -r1.736
--- spec.html	22 Feb 2010 23:07:05 -0000	1.735
+++ spec.html	22 Feb 2010 23:57:09 -0000	1.736
@@ -304,7 +304,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.3835.
+This is revision 1.3836.
    </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
@@ -23799,11 +23799,21 @@
        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
+        dataTransfer.items = DataTransferItems
+
+         DataTransferItems.length
+                          .getItem(n) = DataTransferItem
+                          .add(stringData, type)
+                          .add(blobData)
+                          .add(fileData)
+                          .add(dataTransferItem)
+                          .clear()
+
+         DataTransferItem.kind = 'string', 'file', 'blob', ...
+                         .type = MIME type
+                         .binary = boolean
+                         .getTextData(function callback (data)) - throws if binary is true
+                         .getBlob() - returns File or Blob
 
 --><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

Received on Monday, 22 February 2010 23:57:16 UTC