- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 04 Feb 2010 01:43:43 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv22558 Modified Files: Overview.html Log Message: Remove the drag-and-drop-is-copy-and-paste idea. (whatwg r4644) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3697 retrieving revision 1.3698 diff -u -d -r1.3697 -r1.3698 --- Overview.html 2 Feb 2010 01:04:44 -0000 1.3697 +++ Overview.html 4 Feb 2010 01:43:40 -0000 1.3698 @@ -281,7 +281,7 @@ <h1>HTML5</h1> <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-2-february-2010">Editor's Draft 2 February 2010</h2> + <h2 class="no-num no-toc" id="editor-s-draft-4-february-2010">Editor's Draft 4 February 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> @@ -389,7 +389,7 @@ specification's progress along the W3C Recommendation track. - This specification is the 2 February 2010 Editor's Draft. + This specification is the 4 February 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>This specification is part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a larger specification</a> being produced by the <a href="http://www.whatwg.org/">WHATWG</a>, which is available under a license that permits reuse of the specification text.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><!-- (this text is from the RDFa+HTML spec --><p>This specification is an extension to the HTML5 language. All @@ -997,13 +997,7 @@ <li><a href="#when-the-drag-and-drop-operation-starts-or-ends-in-another-application"><span class="secno">6.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">6.9.5 </span>The <code>draggable</code> attribute</a></li> - <li><a href="#copy-and-paste"><span class="secno">6.9.6 </span>Copy and paste</a> - <ol> - <li><a href="#copy-to-clipboard"><span class="secno">6.9.6.1 </span>Copy to clipboard</a></li> - <li><a href="#cut-to-clipboard"><span class="secno">6.9.6.2 </span>Cut to clipboard</a></li> - <li><a href="#paste-from-clipboard"><span class="secno">6.9.6.3 </span>Paste from clipboard</a></li> - <li><a href="#paste-from-selection"><span class="secno">6.9.6.4 </span>Paste from selection</a></ol></li> - <li><a href="#security-risks-in-the-drag-and-drop-model"><span class="secno">6.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">6.9.6 </span>Security risks in the drag-and-drop model</a></ol></li> <li><a href="#undo"><span class="secno">6.10 </span>Undo history</a> <ol> <li><a href="#definitions-2"><span class="secno">6.10.1 </span>Definitions</a></li> @@ -48717,39 +48711,54 @@ value true, the <code title="attr-draggable"><a href="#the-draggable-attribute">draggable</a></code> content attribute must be set to the literal value <code title="">true</code>.</p> - </div><h4 id="copy-and-paste"><span class="secno">6.9.6 </span>Copy and paste</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>Copy-and-paste is a form of drag-and-drop: the "copy" part is + </div><!-- + <h4>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 - <em>from</em> another application.<p>Select-and-paste (a model used by mouse operations in the X + <em>from</em> another application.</p> + + <p>Select-and-paste (a model used by mouse operations in the X Window System) is equivalent to a drag-and-drop operation where the - source is the selection.<div class="impl"> + source is the selection.</p> - <h5 id="copy-to-clipboard"><span class="secno">6.9.6.1 </span>Copy to clipboard</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + + <div class="impl"> + + <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">6.9.6.2 </span>Cut to clipboard</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></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> + 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">6.9.6.3 </span>Paste from clipboard</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></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 @@ -48758,26 +48767,31 @@ 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">6.9.6.4 </span>Paste from selection</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></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 <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"> + </div> +--><div class="impl"> - <h4 id="security-risks-in-the-drag-and-drop-model"><span class="secno">6.9.7 </span>Security risks in the drag-and-drop model</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + <h4 id="security-risks-in-the-drag-and-drop-model"><span class="secno">6.9.6 </span>Security risks in the drag-and-drop model</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> <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
Received on Thursday, 4 February 2010 01:43:45 UTC