Short URL: http://html5.org/r/4032
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 4032 | 7668 | Mention what events are involved in copy/paste. | 2009-09-29 07:31 |
Index: source =================================================================== --- source (revision 4031) +++ source (revision 4032) @@ -69625,7 +69625,12 @@ 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 @@ -69633,7 +69638,12 @@ 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 @@ -69647,7 +69657,13 @@ 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 @@ -69656,6 +69672,8 @@ 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>