Short URL: http://html5.org/r/7154
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 7154 | 2012-06-28 21:52 |
Index: source
===================================================================
--- source (revision 7153)
+++ source (revision 7154)
@@ -2046,8 +2046,8 @@
rendered, even if, unbeknownst to the implementation, the image also
contained animation data.</p>
- <p class="example">A MPEG-4 video file would not be considered to be
- in a supported format if the compression format used was not
+ <p class="example">An MPEG-4 video file would not be considered to
+ be in a supported format if the compression format used was not
supported, even if the implementation could determine the dimensions
of the movie from the file's metadata.</p>
@@ -89413,11 +89413,11 @@
<dfn title="dom-document-queryCommandSupported"><code>queryCommandSupported()</code></dfn>, and
<dfn title="dom-document-queryCommandValue"><code>queryCommandValue()</code></dfn>
- methods, and text selections are defined in the HTML Editing APIs
- specification. The interaction of editing and the undo/redo features
- in user agents is defined by the UndoManager and DOM Transaction
- specification. <a href="#refsEDITING">[EDITING]</a> <a
- href="#refsUNDO">[UNDO]</a></p>
+ methods, text selections, and the <dfn>delete the selection</dfn>
+ algorithm are defined in the HTML Editing APIs specification. The
+ interaction of editing and the undo/redo features in user agents is
+ defined by the UndoManager and DOM Transaction specification. <a
+ href="#refsEDITING">[EDITING]</a> <a href="#refsUNDO">[UNDO]</a></p>
<!-- those might get merged in here eventually -->
@@ -91918,23 +91918,17 @@
<dl class="switch">
- <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
+ <dt>If <var title="">dropped</var> is true, the <span>current
+ target element</span> is a <i>text field</i> (see below), 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>
+ operation is a selection in the DOM that is entirely contained
+ within an <span>editing host</span></dt>
- <dd><p>The user agent should delete the range representing the
- dragged selection from the DOM.</p></dd>
+ <dd><p><span>Delete the selection</span>.</p></dd>
- <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
+ <dt>If <var title="">dropped</var> is true, the <span>current
+ target element</span> is a <i>text field</i> (see below), 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>
@@ -91957,6 +91951,20 @@
</dl>
+ <p>For the purposes of this step, a <i>text field</i> is a
+ <code>textarea</code> element or an <code>input</code> element
+ whose <code title="attr-input-type">type</code> attribute is in
+ one of the
+ <span title="attr-input-type-text">Text</span>,
+ <span title="attr-input-type-search">Search</span>,
+ <span title="attr-input-type-tel">Tel</span>,
+ <span title="attr-input-type-url">URL</span>,
+ <span title="attr-input-type-email">E-mail</span>,
+ <span title="attr-input-type-password">Password</span>, or
+ <span title="attr-input-type-number">Number</span>
+ states.</p>
+
+
</li>
</ol>