[html5] r6572 - [giow] (2) Explicitly mention when to render drag-cancel feedback. Fixing http:/ [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Sep 23 12:11:56 PDT 2011
Author: ianh
Date: 2011-09-23 12:11:54 -0700 (Fri, 23 Sep 2011)
New Revision: 6572
Modified:
complete.html
index
source
Log:
[giow] (2) Explicitly mention when to render drag-cancel feedback.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13203
Modified: complete.html
===================================================================
--- complete.html 2011-09-23 00:17:35 UTC (rev 6571)
+++ complete.html 2011-09-23 19:11:54 UTC (rev 6572)
@@ -73991,33 +73991,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>
Modified: index
===================================================================
--- index 2011-09-23 00:17:35 UTC (rev 6571)
+++ index 2011-09-23 19:11:54 UTC (rev 6572)
@@ -73887,33 +73887,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>
Modified: source
===================================================================
--- source 2011-09-23 00:17:35 UTC (rev 6571)
+++ source 2011-09-23 19:11:54 UTC (rev 6572)
@@ -84338,33 +84338,42 @@
<dl class="switch">
- <dt>If the <span>current target element</span> is a text field
- (e.g. <code>textarea</code>, or an <code>input</code> element
- whose <code title="attr-input-type">type</code> attribute is in
- the <span title="attr-input-type-text">Text</span> state), and
- <var title="">dropped</var> is true, and the <span>current drag
- operation</span> is "<code title="">move</code>", and the
- source of the drag-and-drop operation is a selection in the
- DOM</dt>
+ <dt>If <var title="">dropped</var> is true, and the
+ <span>current target element</span> is a text field (e.g.
+ <code>textarea</code>, or an <code>input</code> element whose
+ <code title="attr-input-type">type</code> attribute is in the
+ <span title="attr-input-type-text">Text</span> state), and the
+ <span>current drag operation</span> 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
- dragged selection from the DOM.</dd>
+ <dd><p>The user agent should delete the range representing the
+ dragged selection from the DOM.</p></dd>
- <dt>If the <span>current target element</span> is a text field
- (e.g. <code>textarea</code>, or an <code>input</code> element
- whose <code title="attr-input-type">type</code> attribute is in
- the <span title="attr-input-type-text">Text</span> state), and
- <var title="">dropped</var> is true, and the <span>current drag
- operation</span> 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
+ <span>current target element</span> is a text field (e.g.
+ <code>textarea</code>, or an <code>input</code> element whose
+ <code title="attr-input-type">type</code> attribute is in the
+ <span title="attr-input-type-text">Text</span> state), and the
+ <span>current drag operation</span> 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.</p></dd>
+ <dt>If the <var title="">dropped</var> is false of it the
+ <span>current drag operation</span> 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.</p></dd>
+
<dt>Otherwise</dt>
- <dd>The event has no default action.</dd>
+ <dd><p>The event has no default action.</p></dd>
</dl>
More information about the Commit-Watchers
mailing list