[html5] r4620 - [e] (0) Clarify what 'empty' means for drag-and-drop events.

whatwg at whatwg.org whatwg at whatwg.org
Fri Jan 22 16:14:21 PST 2010


Author: ianh
Date: 2010-01-22 16:14:19 -0800 (Fri, 22 Jan 2010)
New Revision: 4620

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clarify what 'empty' means for drag-and-drop events.

Modified: complete.html
===================================================================
--- complete.html	2010-01-22 05:50:16 UTC (rev 4619)
+++ complete.html	2010-01-23 00:14:19 UTC (rev 4620)
@@ -110,7 +110,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 22 January 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 23 January 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -61817,10 +61817,14 @@
      <td><a href=#effectAllowed-initialization>Same as last event</a></td>
      <td><a href=#current-drag-operation>Current drag operation</a></td>
      <td>Varies</td>
-    </table><div class=impl>
+    </table><p class=note>"Empty" in the table above means that the <code title=dom-datatransfer-getdata><a href=#dom-datatransfer-getdata>getData()</a></code> and <code title=dom-dataTransfer-files><a href=#dom-datatransfer-files>files</a></code> attributes act as if
+  there is no data being dragged.</p>
 
+  <div class=impl>
+
   <p>The <code title=dom-DragEvent-dataTransfer><a href=#dom-dragevent-datatransfer>dataTransfer</a></code>
-  object's contents are empty except for <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code> events and <code title=event-drop><a href=#event-drop>drop</a></code> events, for which the contents are
+  object's contents are empty (the <code title=dom-datatransfer-getdata><a href=#dom-datatransfer-getdata>getData()</a></code> and <code title=dom-dataTransfer-files><a href=#dom-datatransfer-files>files</a></code> attributes act as if
+  there is no data being dragged) except for <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code> events and <code title=event-drop><a href=#event-drop>drop</a></code> events, for which the contents are
   set as described in the processing model, below.</p>
 
   <p id=effectAllowed-initialization>The <code title=dom-DataTransfer-effectAllowed><a href=#dom-datatransfer-effectallowed>effectAllowed</a></code>

Modified: index
===================================================================
--- index	2010-01-22 05:50:16 UTC (rev 4619)
+++ index	2010-01-23 00:14:19 UTC (rev 4620)
@@ -112,7 +112,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>HTML5 (including next generation additions still in development)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 22 January 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 23 January 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -61021,10 +61021,14 @@
      <td><a href=#effectAllowed-initialization>Same as last event</a></td>
      <td><a href=#current-drag-operation>Current drag operation</a></td>
      <td>Varies</td>
-    </table><div class=impl>
+    </table><p class=note>"Empty" in the table above means that the <code title=dom-datatransfer-getdata><a href=#dom-datatransfer-getdata>getData()</a></code> and <code title=dom-dataTransfer-files><a href=#dom-datatransfer-files>files</a></code> attributes act as if
+  there is no data being dragged.</p>
 
+  <div class=impl>
+
   <p>The <code title=dom-DragEvent-dataTransfer><a href=#dom-dragevent-datatransfer>dataTransfer</a></code>
-  object's contents are empty except for <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code> events and <code title=event-drop><a href=#event-drop>drop</a></code> events, for which the contents are
+  object's contents are empty (the <code title=dom-datatransfer-getdata><a href=#dom-datatransfer-getdata>getData()</a></code> and <code title=dom-dataTransfer-files><a href=#dom-datatransfer-files>files</a></code> attributes act as if
+  there is no data being dragged) except for <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code> events and <code title=event-drop><a href=#event-drop>drop</a></code> events, for which the contents are
   set as described in the processing model, below.</p>
 
   <p id=effectAllowed-initialization>The <code title=dom-DataTransfer-effectAllowed><a href=#dom-datatransfer-effectallowed>effectAllowed</a></code>

Modified: source
===================================================================
--- source	2010-01-22 05:50:16 UTC (rev 4619)
+++ source	2010-01-23 00:14:19 UTC (rev 4620)
@@ -71126,10 +71126,18 @@
 
   </table>
 
+  <p class="note">"Empty" in the table above means that the <code
+  title="dom-datatransfer-getdata">getData()</code> and <code
+  title="dom-dataTransfer-files">files</code> attributes act as if
+  there is no data being dragged.</p>
+
   <div class="impl">
 
   <p>The <code title="dom-DragEvent-dataTransfer">dataTransfer</code>
-  object's contents are empty except for <code
+  object's contents are empty (the <code
+  title="dom-datatransfer-getdata">getData()</code> and <code
+  title="dom-dataTransfer-files">files</code> attributes act as if
+  there is no data being dragged) except for <code
   title="event-dragstart">dragstart</code> events and <code
   title="event-drop">drop</code> events, for which the contents are
   set as described in the processing model, below.</p>




More information about the Commit-Watchers mailing list