W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2010

html5/spec dnd.html,1.20,1.21 spec.html,1.1266,1.1267

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 04 Oct 2010 21:46:54 +0000
To: public-html-commits@w3.org
Message-Id: <E1P2ss2-00031v-Kg@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv11587

Modified Files:
	dnd.html spec.html 
Log Message:
Make </rt> optional in WebSRT. Add some ideas for the drag-and-drop model. (whatwg r5574)

[updated by splitter]

Index: dnd.html
RCS file: /sources/public/html5/spec/dnd.html,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- dnd.html	29 Sep 2010 19:16:48 -0000	1.20
+++ dnd.html	4 Oct 2010 21:46:52 -0000	1.21
@@ -357,6 +357,7 @@
      * We should let drop targets communicate back to drag sources if
        they want to communicate. (e.g. expose Window, and thus
        postMessage(), on the dataTransfer object on drop.)
+       Or maybe just use a MessagePort!
        We should let drag sources provide a set of options via a
        context menu when the drop happens. (So that, e.g., the source
@@ -386,13 +387,18 @@
+                          .add(promise)
          DataTransferItem.kind = 'string', 'file', 'blob', ...
                          .type = MIME type
-                         .binary = boolean
+                         .binaryOnly
                          .getTextData(function callback (data)) - throws if binary is true
-                         .getBlob() - returns File or Blob
+                         .getBlob() - returns File or Blob (which are async anyway)
+         DataTransferPromise.type = 'string' or 'file' or 'blob'
+                            .onneeddata - can wait until this fires to provide data
+                            .setData() - call this once you have data, must be the right type
 --><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/spec.html,v
retrieving revision 1.1266
retrieving revision 1.1267
diff -u -d -r1.1266 -r1.1267
--- spec.html	1 Oct 2010 19:16:35 -0000	1.1266
+++ spec.html	4 Oct 2010 21:46:52 -0000	1.1267
@@ -320,7 +320,7 @@
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-1-october-2010">Editor's Draft 1 October 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-4-october-2010">Editor's Draft 4 October 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -341,7 +341,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.4455.
+This is revision 1.4456.
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2010 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -426,7 +426,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
-  This specification is the 1 October 2010 Editor's Draft.
+  This specification is the 4 October 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
Received on Monday, 4 October 2010 21:46:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:10:09 UTC