HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
40327668Mention what events are involved in copy/paste.2009-09-29 07:31
@@ -69618,51 +69618,69 @@ interface <dfn>SQLTransactionSync</dfn> {
   as if the user had invoked a drag on the current selection. If the
   drag-and-drop operation initiates, then the user agent must act as
   if the user had indicated (as the <span>immediate user
   selection</span>) a hypothetical application representing the
   clipboard. Then, the user agent must act as if the user had ended
   the drag-and-drop operation without canceling it. If the
   drag-and-drop operation didn't get canceled, the user agent should
   then follow the relevant platform-specific conventions for copy
   operations (e.g. updating the clipboard).</p>
 
+  <p>The events involved in this process are the <code
+  title="event-drag">drag</code>, <code
+  title="event-dragend">dragend</code>, and <code
+  title="event-drop">drop</code> events.</p>
+
 
   <h5>Cut to clipboard</h5>
 
   <p>When the user invokes a cut operation, the user agent must act as
   if the user had invoked a copy operation (see the previous section),
   followed, if the copy was completed successfully, by <a
   href="#contenteditable-delete">a selection delete operation</a>.</p>
 
+  <p>The events involved in this process are the <code
+  title="event-drag">drag</code>, <code
+  title="event-dragend">dragend</code>, and <code
+  title="event-drop">drop</code> events.</p>
+
 
   <h5>Paste from clipboard</h5>
 
   <p>When the user invokes a clipboard paste operation, the user agent
   must act as if the user had invoked a drag on a hypothetical
   application representing the clipboard, setting the data associated
   with the drag as the content on the clipboard (in whatever formats
   are available).</p>
 
   <p>Then, the user agent must act as if the user had indicated (as
   the <span>immediate user selection</span>) the element with the
   keyboard focus, and then ended the drag-and-drop operation without
   canceling it.</p>
 
+  <p>The events involved in this process are the <code
+  title="event-dragenter">dragenter</code>, <code
+  title="event-dragover">dragover</code>, <code
+  title="event-dragleave">dragleave</code>, and <code
+  title="event-drop">drop</code> events.</p>
+
 
   <h5>Paste from selection</h5>
 
   <p>When the user invokes a selection paste operation, the user agent
   must act as if the user had invoked a drag on the current selection,
   then indicated (as the <span>immediate user selection</span>) the
   element with the keyboard focus, and then ended the drag-and-drop
   operation without canceling it.</p>
 
+  <p>All the drag-and-drop events can be involved in this process.</p>
+
   </div>
 
 
 
   <div class="impl">
 
   <h4>Security risks in the drag-and-drop model</h4>
 
   <p>User agents must not make the data added to the
   <code>DataTransfer</code> object during the <code

|