W3C home > Mailing lists > Public > public-html-commits@w3.org > September 2011

html5/spec Overview.html,1.5265,1.5266

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 23 Sep 2011 19:14:25 +0000
To: public-html-commits@w3.org
Message-Id: <E1R7BCb-0004Iu-CC@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv16519

Modified Files:
	Overview.html 
Log Message:
Explicitly mention when to render drag-cancel feedback. (whatwg r6572)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5265
retrieving revision 1.5266
diff -u -d -r1.5265 -r1.5266
--- Overview.html	23 Sep 2011 00:19:58 -0000	1.5265
+++ Overview.html	23 Sep 2011 19:14:21 -0000	1.5266
@@ -54566,33 +54566,39 @@
       default action of the <code title="event-dragend"><a href="#event-dragend">dragend</a></code>
       event:</p>
 
-      <dl class="switch"><dt>If the <a href="#current-target-element">current target element</a> is a text field
-       (e.g. <code><a href="#the-textarea-element">textarea</a></code>, or an <code><a href="#the-input-element">input</a></code> element
-       whose <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is in
-       the <a href="#text-state-and-search-state" title="attr-input-type-text">Text</a> state), and
-       <var title="">dropped</var> is true, and the <a href="#current-drag-operation">current drag
-       operation</a> is "<code title="">move</code>", and the
-       source of the drag-and-drop operation is a selection in the
-       DOM</dt>
+      <dl class="switch"><dt>If <var title="">dropped</var> is true, and the
+       <a href="#current-target-element">current target element</a> is a text field (e.g.
+       <code><a href="#the-textarea-element">textarea</a></code>, or an <code><a href="#the-input-element">input</a></code> element whose
+       <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is in the
+       <a href="#text-state-and-search-state" title="attr-input-type-text">Text</a> state), and the
+       <a href="#current-drag-operation">current drag operation</a> is "<code title="">move</code>", and the source of the drag-and-drop
+       operation is a selection in the DOM</dt>
 
-       <dd>The user agent should delete the range representing the
+       <dd><p>The user agent should delete the range representing the
        dragged selection from the DOM.</dd>
 
-       <dt>If the <a href="#current-target-element">current target element</a> is a text field
-       (e.g. <code><a href="#the-textarea-element">textarea</a></code>, or an <code><a href="#the-input-element">input</a></code> element
-       whose <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is in
-       the <a href="#text-state-and-search-state" title="attr-input-type-text">Text</a> state), and
-       <var title="">dropped</var> is true, and the <a href="#current-drag-operation">current drag
-       operation</a> is "<code title="">move</code>", and the
-       source of the drag-and-drop operation is a selection in a text
-       field</dt>
+       <dt>If <var title="">dropped</var> is true, and the
+       <a href="#current-target-element">current target element</a> is a text field (e.g.
+       <code><a href="#the-textarea-element">textarea</a></code>, or an <code><a href="#the-input-element">input</a></code> element whose
+       <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is in the
+       <a href="#text-state-and-search-state" title="attr-input-type-text">Text</a> state), and the
+       <a href="#current-drag-operation">current drag operation</a> is "<code title="">move</code>", and the source of the drag-and-drop
+       operation is a selection in a text field</dt>
 
-       <dd>The user agent should delete the dragged selection from the
-       relevant text field.</dd>
+       <dd><p>The user agent should delete the dragged selection from
+       the relevant text field.</dd>
+
+       <dt>If the <var title="">dropped</var> is false of it the
+       <a href="#current-drag-operation">current drag operation</a> is "<code title="">none</code>"</dt>
+
+       <dd><p>The drag was canceled. If the platform conventions
+       dictate that this be represented to the user (e.g. by animating
+       the dragged selection going back to the source of the
+       drag-and-drop operation), then do so.</dd>
 
        <dt>Otherwise</dt>
 
-       <dd>The event has no default action.</dd>
+       <dd><p>The event has no default action.</dd>
 
       </dl></li>
 
Received on Friday, 23 September 2011 19:14:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 23 September 2011 19:14:28 GMT