[html5] r4644 - [] (0) Remove the drag-and-drop-is-copy-and-paste idea.
whatwg at whatwg.org
whatwg at whatwg.org
Wed Feb 3 17:43:36 PST 2010
Author: ianh
Date: 2010-02-03 17:43:34 -0800 (Wed, 03 Feb 2010)
New Revision: 4644
Modified:
complete.html
index
source
Log:
[] (0) Remove the drag-and-drop-is-copy-and-paste idea.
Modified: complete.html
===================================================================
--- complete.html 2010-02-02 03:10:54 UTC (rev 4643)
+++ complete.html 2010-02-04 01:43:34 UTC (rev 4644)
@@ -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 — 2 February 2010</h2>
+ <h2 class="no-num no-toc">Draft Standard — 4 February 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>-->
@@ -841,13 +841,7 @@
<li><a href=#when-the-drag-and-drop-operation-starts-or-ends-in-another-application><span class=secno>8.9.4.2 </span>When the drag-and-drop operation starts or ends in another
application</a></ol></li>
<li><a href=#the-draggable-attribute><span class=secno>8.9.5 </span>The <code>draggable</code> attribute</a></li>
- <li><a href=#copy-and-paste><span class=secno>8.9.6 </span>Copy and paste</a>
- <ol>
- <li><a href=#copy-to-clipboard><span class=secno>8.9.6.1 </span>Copy to clipboard</a></li>
- <li><a href=#cut-to-clipboard><span class=secno>8.9.6.2 </span>Cut to clipboard</a></li>
- <li><a href=#paste-from-clipboard><span class=secno>8.9.6.3 </span>Paste from clipboard</a></li>
- <li><a href=#paste-from-selection><span class=secno>8.9.6.4 </span>Paste from selection</a></ol></li>
- <li><a href=#security-risks-in-the-drag-and-drop-model><span class=secno>8.9.7 </span>Security risks in the drag-and-drop model</a></ol></li>
+ <li><a href=#security-risks-in-the-drag-and-drop-model><span class=secno>8.9.6 </span>Security risks in the drag-and-drop model</a></ol></li>
<li><a href=#undo><span class=secno>8.10 </span>Undo history</a>
<ol>
<li><a href=#definitions-2><span class=secno>8.10.1 </span>Definitions</a></li>
@@ -62768,9 +62762,9 @@
</div>
+<!--
+ <h4>Copy and paste</h4>
- <h4 id=copy-and-paste><span class=secno>8.9.6 </span>Copy and paste</h4>
-
<p>Copy-and-paste is a form of drag-and-drop: the "copy" part is
equivalent to dragging content to another application (the
"clipboard"), and the "paste" part is equivalent to dragging content
@@ -62781,34 +62775,41 @@
source is the selection.</p>
- <div class=impl>
+ <div class="impl">
- <h5 id=copy-to-clipboard><span class=secno>8.9.6.1 </span>Copy to clipboard</h5>
+ <h5>Copy to clipboard</h5>
<p>When the user invokes a copy operation, the user agent must act
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 <a href=#immediate-user-selection>immediate user
- selection</a>) a hypothetical application representing the
+ 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-dragstart><a href=#event-dragstart>dragstart</a></code>, <code title=event-drag><a href=#event-drag>drag</a></code>, and <code title=event-dragend><a href=#event-dragend>dragend</a></code> events.</p>
+ <p>The events involved in this process are the <code
+ title="event-dragstart">dragstart</code>, <code
+ title="event-drag">drag</code>, and <code
+ title="event-dragend">dragend</code> events.</p>
- <h5 id=cut-to-clipboard><span class=secno>8.9.6.2 </span>Cut to clipboard</h5>
+ <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>
+ 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-dragstart><a href=#event-dragstart>dragstart</a></code>, <code title=event-drag><a href=#event-drag>drag</a></code>, and <code title=event-dragend><a href=#event-dragend>dragend</a></code> events.</p>
+ <p>The events involved in this process are the <code
+ title="event-dragstart">dragstart</code>, <code
+ title="event-drag">drag</code>, and <code
+ title="event-dragend">dragend</code> events.</p>
- <h5 id=paste-from-clipboard><span class=secno>8.9.6.3 </span>Paste from clipboard</h5>
+ <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
@@ -62817,30 +62818,34 @@
are available).</p>
<p>Then, the user agent must act as if the user had indicated (as
- the <a href=#immediate-user-selection>immediate user selection</a>) the element with the
+ 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><a href=#event-dragenter>dragenter</a></code>, <code title=event-dragover><a href=#event-dragover>dragover</a></code>, <code title=event-dragleave><a href=#event-dragleave>dragleave</a></code>, and <code title=event-drop><a href=#event-drop>drop</a></code> events.</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 id=paste-from-selection><span class=secno>8.9.6.4 </span>Paste from selection</h5>
+ <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 <a href=#immediate-user-selection>immediate user selection</a>) the
+ 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 id=security-risks-in-the-drag-and-drop-model><span class=secno>8.9.7 </span>Security risks in the drag-and-drop model</h4>
+ <h4 id=security-risks-in-the-drag-and-drop-model><span class=secno>8.9.6 </span>Security risks in the drag-and-drop model</h4>
<p>User agents must not make the data added to the
<code><a href=#datatransfer>DataTransfer</a></code> object during the <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code> event available to scripts
Modified: index
===================================================================
--- index 2010-02-02 03:10:54 UTC (rev 4643)
+++ index 2010-02-04 01:43:34 UTC (rev 4644)
@@ -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 — 2 February 2010</h2>
+ <h2 class="no-num no-toc">Draft Standard — 4 February 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>-->
@@ -826,13 +826,7 @@
<li><a href=#when-the-drag-and-drop-operation-starts-or-ends-in-another-application><span class=secno>7.9.4.2 </span>When the drag-and-drop operation starts or ends in another
application</a></ol></li>
<li><a href=#the-draggable-attribute><span class=secno>7.9.5 </span>The <code>draggable</code> attribute</a></li>
- <li><a href=#copy-and-paste><span class=secno>7.9.6 </span>Copy and paste</a>
- <ol>
- <li><a href=#copy-to-clipboard><span class=secno>7.9.6.1 </span>Copy to clipboard</a></li>
- <li><a href=#cut-to-clipboard><span class=secno>7.9.6.2 </span>Cut to clipboard</a></li>
- <li><a href=#paste-from-clipboard><span class=secno>7.9.6.3 </span>Paste from clipboard</a></li>
- <li><a href=#paste-from-selection><span class=secno>7.9.6.4 </span>Paste from selection</a></ol></li>
- <li><a href=#security-risks-in-the-drag-and-drop-model><span class=secno>7.9.7 </span>Security risks in the drag-and-drop model</a></ol></li>
+ <li><a href=#security-risks-in-the-drag-and-drop-model><span class=secno>7.9.6 </span>Security risks in the drag-and-drop model</a></ol></li>
<li><a href=#undo><span class=secno>7.10 </span>Undo history</a>
<ol>
<li><a href=#definitions-2><span class=secno>7.10.1 </span>Definitions</a></li>
@@ -61971,9 +61965,9 @@
</div>
+<!--
+ <h4>Copy and paste</h4>
- <h4 id=copy-and-paste><span class=secno>7.9.6 </span>Copy and paste</h4>
-
<p>Copy-and-paste is a form of drag-and-drop: the "copy" part is
equivalent to dragging content to another application (the
"clipboard"), and the "paste" part is equivalent to dragging content
@@ -61984,34 +61978,41 @@
source is the selection.</p>
- <div class=impl>
+ <div class="impl">
- <h5 id=copy-to-clipboard><span class=secno>7.9.6.1 </span>Copy to clipboard</h5>
+ <h5>Copy to clipboard</h5>
<p>When the user invokes a copy operation, the user agent must act
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 <a href=#immediate-user-selection>immediate user
- selection</a>) a hypothetical application representing the
+ 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-dragstart><a href=#event-dragstart>dragstart</a></code>, <code title=event-drag><a href=#event-drag>drag</a></code>, and <code title=event-dragend><a href=#event-dragend>dragend</a></code> events.</p>
+ <p>The events involved in this process are the <code
+ title="event-dragstart">dragstart</code>, <code
+ title="event-drag">drag</code>, and <code
+ title="event-dragend">dragend</code> events.</p>
- <h5 id=cut-to-clipboard><span class=secno>7.9.6.2 </span>Cut to clipboard</h5>
+ <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>
+ 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-dragstart><a href=#event-dragstart>dragstart</a></code>, <code title=event-drag><a href=#event-drag>drag</a></code>, and <code title=event-dragend><a href=#event-dragend>dragend</a></code> events.</p>
+ <p>The events involved in this process are the <code
+ title="event-dragstart">dragstart</code>, <code
+ title="event-drag">drag</code>, and <code
+ title="event-dragend">dragend</code> events.</p>
- <h5 id=paste-from-clipboard><span class=secno>7.9.6.3 </span>Paste from clipboard</h5>
+ <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
@@ -62020,30 +62021,34 @@
are available).</p>
<p>Then, the user agent must act as if the user had indicated (as
- the <a href=#immediate-user-selection>immediate user selection</a>) the element with the
+ 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><a href=#event-dragenter>dragenter</a></code>, <code title=event-dragover><a href=#event-dragover>dragover</a></code>, <code title=event-dragleave><a href=#event-dragleave>dragleave</a></code>, and <code title=event-drop><a href=#event-drop>drop</a></code> events.</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 id=paste-from-selection><span class=secno>7.9.6.4 </span>Paste from selection</h5>
+ <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 <a href=#immediate-user-selection>immediate user selection</a>) the
+ 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 id=security-risks-in-the-drag-and-drop-model><span class=secno>7.9.7 </span>Security risks in the drag-and-drop model</h4>
+ <h4 id=security-risks-in-the-drag-and-drop-model><span class=secno>7.9.6 </span>Security risks in the drag-and-drop model</h4>
<p>User agents must not make the data added to the
<code><a href=#datatransfer>DataTransfer</a></code> object during the <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code> event available to scripts
Modified: source
===================================================================
--- source 2010-02-02 03:10:54 UTC (rev 4643)
+++ source 2010-02-04 01:43:34 UTC (rev 4644)
@@ -72313,7 +72313,7 @@
</div>
-
+<!--
<h4>Copy and paste</h4>
<p>Copy-and-paste is a form of drag-and-drop: the "copy" part is
@@ -72391,9 +72391,9 @@
<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>
More information about the Commit-Watchers
mailing list