- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 20 Jan 2011 20:46:56 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv28953
Modified Files:
apis-in-html-documents.html dnd.html spec.html
Log Message:
typo (whatwg r5792)
[updated by splitter]
Index: apis-in-html-documents.html
===================================================================
RCS file: /sources/public/html5/spec/apis-in-html-documents.html,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- apis-in-html-documents.html 12 Jan 2011 03:46:41 -0000 1.32
+++ apis-in-html-documents.html 20 Jan 2011 20:46:54 -0000 1.33
@@ -1197,7 +1197,7 @@
<code><a href="common-dom-interfaces.html#no_modification_allowed_err">NO_MODIFICATION_ALLOWED_ERR</a></code> exception and abort
these steps.
- </p><p>Otherwise, let <var title="">context</var> be the parent node
+ </p><p>Otherwise, let <var title="">destination</var> be the parent node
of <var title="">target</var>.</p>
</dd>
@@ -1209,7 +1209,7 @@
<dd>
- <p>Let <var title="">context</var> be the same as <var title="">target</var>.</p>
+ <p>Let <var title="">destination</var> be the same as <var title="">target</var>.</p>
</dd>
@@ -1232,8 +1232,8 @@
documents">XML document</a>: Invoke the <a href="the-xhtml-syntax.html#xml-fragment-parsing-algorithm">XML fragment
parsing algorithm</a>.</p>
- <p>In either case, the algorithm must be invoked with <var title="">text</var> as the <var title="">input</var>, and the
- element selected in by the previous step as the <var title="">context</var> element.</p>
+ <p>In either case, the algorithm must be invoked with <var title="">text</var> as the <var title="">input</var>, and <var title="">destination</var> as the <var title="">context</var>
+ element.</p>
<p>If this raises an exception, then abort these steps.</p>
Index: dnd.html
===================================================================
RCS file: /sources/public/html5/spec/dnd.html,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- dnd.html 12 Jan 2011 03:46:41 -0000 1.40
+++ dnd.html 20 Jan 2011 20:46:54 -0000 1.41
@@ -643,14 +643,17 @@
attribute DOMString <a href="#dom-datatransfer-dropeffect" title="dom-DataTransfer-dropEffect">dropEffect</a>;
attribute DOMString <a href="#dom-datatransfer-effectallowed" title="dom-DataTransfer-effectAllowed">effectAllowed</a>;
- readonly attribute DOMStringList <a href="#dom-datatransfer-types" title="dom-DataTransfer-types">types</a>;
- void <a href="#dom-datatransfer-cleardata" title="dom-DataTransfer-clearData">clearData</a>(in optional DOMString format);
- void <a href="#dom-datatransfer-setdata" title="dom-DataTransfer-setData">setData</a>(in DOMString format, in DOMString data);
- DOMString <a href="#dom-datatransfer-getdata" title="dom-DataTransfer-getData">getData</a>(in DOMString format);
- readonly attribute <span>FileList</span> <a href="#dom-datatransfer-files" title="dom-DataTransfer-files">files</a>;
+ readonly attribute <a href="#datatransferitems">DataTransferItems</a> <a href="#dom-datatransfer-items" title="dom-DataTransfer-items">items</a>;
void <a href="#dom-datatransfer-setdragimage" title="dom-DataTransfer-setDragImage">setDragImage</a>(in Element image, in long x, in long y);
void <a href="#dom-datatransfer-addelement" title="dom-DataTransfer-addElement">addElement</a>(in Element element);
+
+ /* old interface */
+ readonly attribute DOMStringList <a href="#dom-datatransfer-types" title="dom-DataTransfer-types">types</a>;
+ DOMString <a href="#dom-datatransfer-getdata" title="dom-DataTransfer-getData">getData</a>(in DOMString format);
+ void <a href="#dom-datatransfer-setdata" title="dom-DataTransfer-setData">setData</a>(in DOMString format, in DOMString data);
+ void <a href="#dom-datatransfer-cleardata" title="dom-DataTransfer-clearData">clearData</a>(in optional DOMString format);
+ readonly attribute <span>FileList</span> <a href="#dom-datatransfer-files" title="dom-DataTransfer-files">files</a>;
};</pre><dl class="domintro"><dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-dropEffect"><a href="#dom-datatransfer-dropeffect">dropEffect</a></code> [ = <var title="">value</var> ]</dt>
<dd>
@@ -666,6 +669,7 @@
</dd>
+
<dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-effectAllowed"><a href="#dom-datatransfer-effectallowed">effectAllowed</a></code> [ = <var title="">value</var> ]</dt>
<dd>
@@ -678,34 +682,46 @@
</dd>
- <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-types"><a href="#dom-datatransfer-types">types</a></code></dt>
+
+ <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-items"><a href="#dom-datatransfer-items">items</a></code></dt>
<dd>
- <p>Returns a <code>DOMStringList</code> listing the formats that
- were set in the <code title="event-dragstart"><a href="#event-dragstart">dragstart</a></code>
- event. In addition, if any files are being dragged, then one of
- the types will be the string "<code title="">Files</code>".</p>
+ <p>Returns a <code><a href="#datatransferitems">DataTransferItems</a></code> object, with the drag data.</p>
</dd>
- <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-clearData"><a href="#dom-datatransfer-cleardata">clearData</a></code>( [ <var title="">format</var> ] )</dt>
+
+ <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-setDragImage"><a href="#dom-datatransfer-setdragimage">setDragImage</a></code>(<var title="">element</var>, <var title="">x</var>, <var title="">y</var>)</dt>
<dd>
- <p>Removes the data of the specified formats. Removes all data if
- the argument is omitted.</p>
+ <p>Uses the given element to update the drag feedback, replacing any previously specified feedback.</p>
</dd>
- <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-setData"><a href="#dom-datatransfer-setdata">setData</a></code>(<var title="">format</var>, <var title="">data</var>)</dt>
+
+ <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-addElement"><a href="#dom-datatransfer-addelement">addElement</a></code>(<var title="">element</var>)</dt>
<dd>
- <p>Adds the specified data.</p>
+ <p>Adds the given element to the list of elements used to render the drag feedback.</p>
</dd>
+
+ <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-types"><a href="#dom-datatransfer-types">types</a></code></dt>
+
+ <dd>
+
+ <p>Returns a <code>DOMStringList</code> listing the formats that
+ were set in the <code title="event-dragstart"><a href="#event-dragstart">dragstart</a></code>
+ event. In addition, if any files are being dragged, then one of
+ the types will be the string "<code title="">Files</code>".</p>
+
+ </dd>
+
+
<dt><var title="">data</var> = <var title="">dataTransfer</var> . <code title="dom-DataTransfer-getData"><a href="#dom-datatransfer-getdata">getData</a></code>(<var title="">format</var>)</dt>
<dd>
@@ -714,27 +730,31 @@
</dd>
- <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-files"><a href="#dom-datatransfer-files">files</a></code></dt>
+
+ <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-setData"><a href="#dom-datatransfer-setdata">setData</a></code>(<var title="">format</var>, <var title="">data</var>)</dt>
<dd>
- <p>Returns a <code>FileList</code> of the files being dragged, if any.</p>
+ <p>Adds the specified data.</p>
</dd>
- <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-setDragImage"><a href="#dom-datatransfer-setdragimage">setDragImage</a></code>(<var title="">element</var>, <var title="">x</var>, <var title="">y</var>)</dt>
+
+ <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-clearData"><a href="#dom-datatransfer-cleardata">clearData</a></code>( [ <var title="">format</var> ] )</dt>
<dd>
- <p>Uses the given element to update the drag feedback, replacing any previously specified feedback.</p>
+ <p>Removes the data of the specified formats. Removes all data if
+ the argument is omitted.</p>
</dd>
- <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-addElement"><a href="#dom-datatransfer-addelement">addElement</a></code>(<var title="">element</var>)</dt>
+
+ <dt><var title="">dataTransfer</var> . <code title="dom-DataTransfer-files"><a href="#dom-datatransfer-files">files</a></code></dt>
<dd>
- <p>Adds the given element to the list of elements used to render the drag feedback.</p>
+ <p>Returns a <code>FileList</code> of the files being dragged, if any.</p>
</dd>
@@ -763,6 +783,56 @@
current value. On setting, if the new value is one of "<code title="">none</code>", "<code title="">copy</code>", "<code title="">copyLink</code>", "<code title="">copyMove</code>", "<code title="">link</code>", "<code title="">linkMove</code>", "<code title="">move</code>", "<code title="">all</code>", or "<code title="">uninitialized</code>", then the attribute's current value
must be set to the new value. Other values must be ignored.</p>
+ <p>The <dfn id="dom-datatransfer-items" title="dom-DataTransfer-items"><code>items</code></dfn>
+ attribute must return a <code><a href="#datatransferitems">DataTransferItems</a></code> object
+ associated with the <code><a href="#datatransfer">DataTransfer</a></code> object. The same
+ object must be returned each time.</p>
+
+ <p>The <dfn id="dom-datatransfer-setdragimage" title="dom-DataTransfer-setDragImage"><code>setDragImage(<var title="">element</var>, <var title="">x</var>, <var title="">y</var>)</code></dfn> method must run the following
+ steps:</p>
+
+ <ol><li><p>If the <code><a href="#datatransfer">DataTransfer</a></code> object is no longer
+ associated with a <a href="#drag-data-store">drag data store</a>, abort these steps.
+ Nothing happens.</p></li>
+
+ <li><p>If the <a href="#drag-data-store">drag data store</a>'s <a href="#drag-data-store-mode" title="drag data
+ store mode">mode</a> is not in the <a href="#concept-dnd-rw" title="concept-dnd-rw">read/write mode</a>, abort these steps.
+ Nothing happens.</p></li>
+
+ <li><p>If the <var title="">element</var> argument is an
+ <code><a href="embedded-content-1.html#the-img-element">img</a></code> element, then set the <a href="#drag-data-store-bitmap">drag data store
+ bitmap</a> to the element's image (at its intrinsic size);
+ otherwise, set the <a href="#drag-data-store-bitmap">drag data store bitmap</a> to an image
+ generated from the given element (the exact mechanism for doing so
+ is not currently specified).</p></li>
+
+ <li><p>Set the <a href="#drag-data-store-hot-spot-coordinate">drag data store hot spot coordinate</a> to
+ the given <var title="">x</var>, <var title="">y</var>
+ coordinate.</p></li>
+
+ </ol><p>The <dfn id="dom-datatransfer-addelement" title="dom-DataTransfer-addElement"><code>addElement(<var title="">element</var>)</code></dfn> method is an alternative way of
+ specifying how the user agent is to <a href="#base-dnd-feedback">render the drag feedback</a>. The method
+ must run the following steps:</p>
+
+ <ol><li><p>If the <code><a href="#datatransfer">DataTransfer</a></code> object is no longer
+ associated with a <a href="#drag-data-store">drag data store</a>, abort these steps.
+ Nothing happens.</p></li>
+
+ <li><p>If the <a href="#drag-data-store">drag data store</a>'s <a href="#drag-data-store-mode" title="drag data
+ store mode">mode</a> is not in the <a href="#concept-dnd-rw" title="concept-dnd-rw">read/write mode</a>, abort these steps.
+ Nothing happens.</p></li>
+
+ <li><p>Add the given <var title="">element</var> to the element's
+ <a href="#drag-data-store-elements-list">drag data store elements list</a>.</p></li>
+
+ </ol><p class="note">The difference between <code title="dom-DataTransfer-setDragImage"><a href="#dom-datatransfer-setdragimage">setDragImage()</a></code> and
+ <code title="dom-DataTransfer-addElement"><a href="#dom-datatransfer-addelement">addElement()</a></code> is
+ that the latter automatically generates the image based on the
+ current rendering of the elements added (potentially keeping it
+ updated as the drag continues, e.g. if the elements include an
+ actively playing video), whereas the former uses the exact specified
+ image at the time the method is invoked.</p>
+
<p>The <dfn id="dom-datatransfer-types" title="dom-DataTransfer-types"><code>types</code></dfn>
attribute must return a <a href="infrastructure.html#live">live</a> <code>DOMStringList</code>
giving the strings that the following steps would produce. The same
@@ -792,44 +862,44 @@
<li><p>The strings produced by these steps are those in the list
<var title="">L</var>.</p></li>
- </ol><p>The <dfn id="dom-datatransfer-cleardata" title="dom-DataTransfer-clearData"><code>clearData()</code></dfn>
- method must run the following steps:</p>
+ </ol><p>The <dfn id="dom-datatransfer-getdata" title="dom-DataTransfer-getData"><code>getData(<var title="">format</var>, <var title="">data</var>)</code></dfn> method
+ must run the following steps:</p>
<ol><li><p>If the <code><a href="#datatransfer">DataTransfer</a></code> object is no longer
associated with a <a href="#drag-data-store">drag data store</a>, abort these steps.
Nothing happens.</p></li>
<li><p>If the <a href="#drag-data-store">drag data store</a>'s <a href="#drag-data-store-mode" title="drag data
- store mode">mode</a> is not the <a href="#concept-dnd-rw" title="concept-dnd-rw">read/write mode</a>, abort these steps.
+ store mode">mode</a> is in the <a href="#concept-dnd-p" title="concept-dnd-p">protected mode</a>, abort these steps.
Nothing happens.</p></li>
- <li><p>If the method was called with no arguments, remove each item
- in the <a href="#drag-data-store-item-list">drag data store item list</a> whose <a href="#the-drag-data-item-kind" title="the drag data item kind">kind</a> is <i>Plain Unicode
- string</i>, and abort these steps.</p></li>
-
<li><p>Let <var title="">format</var> be the first argument,
<a href="infrastructure.html#converted-to-ascii-lowercase">converted to ASCII lowercase</a>.</p></li>
- <li>
-
- <p>If <var title="">format</var> equals "<code title="">text</code>", change it to "<code title="">text/plain</code>".</p>
+ <li><p>Let <var title="">convert-to-URL</var> be false.</p></li>
- <p>If <var title="">format</var> equals "<code title="">url</code>", change it to "<code title="">text/uri-list</code>".</p>
+ <li><p>If <var title="">format</var> equals "<code title="">text</code>", change it to "<code title="">text/plain</code>".</p></li>
- </li>
+ <li><p>If <var title="">format</var> equals "<code title="">url</code>", change it to "<code title="">text/uri-list</code>" and set <var title="">convert-to-URL</var> to true.</p></li>
- <li><p>Remove the item in the <a href="#drag-data-store-item-list">drag data store item
+ <li><p>If there is no item in the <a href="#drag-data-store-item-list">drag data store item
list</a> whose <a href="#the-drag-data-item-kind" title="the drag data item kind">kind</a>
is <i>Plain Unicode string</i> and whose <a href="#the-drag-data-item-type-string" title="the drag data
- item type string">type string</a> is equal to <var title="">format</var>, if there is one.</p></li>
+ item type string">type string</a> is equal to <var title="">format</var>, return the empty string and abort these
+ steps.</p></li>
- </ol><p class="note">The <code title="dom-DataTransfer-clearData"><a href="#dom-datatransfer-cleardata">clearData()</a></code> method does
- not affect whether any files were included in the drag, so the <code title="dom-DataTransfer-types"><a href="#dom-datatransfer-types">types</a></code> attribute's list might
- still not be empty after calling <code title="dom-DataTransfer-clearData"><a href="#dom-datatransfer-cleardata">clearData()</a></code> (it would
- still contain the "<code title="">Files</code>" string if any files
- were included in the drag).</p>
+ <li><p>Let <var title="">result</var> be the data of the item
+ in the <a href="#drag-data-store-item-list">drag data store item list</a> whose <a href="#the-drag-data-item-kind" title="the drag data item kind">kind</a> is <i>Plain Unicode
+ string</i> and whose <a href="#the-drag-data-item-type-string" title="the drag data item type
+ string">type string</a> is equal to <var title="">format</var>.</p></li>
- <p>The <dfn id="dom-datatransfer-setdata" title="dom-DataTransfer-setData"><code>setData(<var title="">format</var>, <var title="">data</var>)</code></dfn> method
+ <li><p>If <var title="">convert-to-URL</var> is true, then parse
+ <var title="">result</var> as appropriate for <code title="">text/uri-list</code> data, and then set <var title="">result</var> to the first URL from the list, if any, or
+ the empty string otherwise. <a href="references.html#refsRFC2483">[RFC2483]</a></p></li>
+
+ <li><p>Return <var title="">result</var>.</p></li>
+
+ </ol><p>The <dfn id="dom-datatransfer-setdata" title="dom-DataTransfer-setData"><code>setData(<var title="">format</var>, <var title="">data</var>)</code></dfn> method
must run the following steps:</p>
<ol><li><p>If the <code><a href="#datatransfer">DataTransfer</a></code> object is no longer
@@ -863,44 +933,44 @@
and whose data is the string given by the method's second
argument.</p></li>
- </ol><p>The <dfn id="dom-datatransfer-getdata" title="dom-DataTransfer-getData"><code>getData(<var title="">format</var>, <var title="">data</var>)</code></dfn> method
- must run the following steps:</p>
+ </ol><p>The <dfn id="dom-datatransfer-cleardata" title="dom-DataTransfer-clearData"><code>clearData()</code></dfn>
+ method must run the following steps:</p>
<ol><li><p>If the <code><a href="#datatransfer">DataTransfer</a></code> object is no longer
associated with a <a href="#drag-data-store">drag data store</a>, abort these steps.
Nothing happens.</p></li>
<li><p>If the <a href="#drag-data-store">drag data store</a>'s <a href="#drag-data-store-mode" title="drag data
- store mode">mode</a> is in the <a href="#concept-dnd-p" title="concept-dnd-p">protected mode</a>, abort these steps.
+ store mode">mode</a> is not the <a href="#concept-dnd-rw" title="concept-dnd-rw">read/write mode</a>, abort these steps.
Nothing happens.</p></li>
+ <li><p>If the method was called with no arguments, remove each item
+ in the <a href="#drag-data-store-item-list">drag data store item list</a> whose <a href="#the-drag-data-item-kind" title="the drag data item kind">kind</a> is <i>Plain Unicode
+ string</i>, and abort these steps.</p></li>
+
<li><p>Let <var title="">format</var> be the first argument,
<a href="infrastructure.html#converted-to-ascii-lowercase">converted to ASCII lowercase</a>.</p></li>
- <li><p>Let <var title="">convert-to-URL</var> be false.</p></li>
+ <li>
- <li><p>If <var title="">format</var> equals "<code title="">text</code>", change it to "<code title="">text/plain</code>".</p></li>
+ <p>If <var title="">format</var> equals "<code title="">text</code>", change it to "<code title="">text/plain</code>".</p>
- <li><p>If <var title="">format</var> equals "<code title="">url</code>", change it to "<code title="">text/uri-list</code>" and set <var title="">convert-to-URL</var> to true.</p></li>
+ <p>If <var title="">format</var> equals "<code title="">url</code>", change it to "<code title="">text/uri-list</code>".</p>
- <li><p>If there is no item in the <a href="#drag-data-store-item-list">drag data store item
+ </li>
+
+ <li><p>Remove the item in the <a href="#drag-data-store-item-list">drag data store item
list</a> whose <a href="#the-drag-data-item-kind" title="the drag data item kind">kind</a>
is <i>Plain Unicode string</i> and whose <a href="#the-drag-data-item-type-string" title="the drag data
- item type string">type string</a> is equal to <var title="">format</var>, return the empty string and abort these
- steps.</p></li>
-
- <li><p>Let <var title="">result</var> be the data of the item
- in the <a href="#drag-data-store-item-list">drag data store item list</a> whose <a href="#the-drag-data-item-kind" title="the drag data item kind">kind</a> is <i>Plain Unicode
- string</i> and whose <a href="#the-drag-data-item-type-string" title="the drag data item type
- string">type string</a> is equal to <var title="">format</var>.</p></li>
-
- <li><p>If <var title="">convert-to-URL</var> is true, then parse
- <var title="">result</var> as appropriate for <code title="">text/uri-list</code> data, and then set <var title="">result</var> to the first URL from the list, if any, or
- the empty string otherwise. <a href="references.html#refsRFC2483">[RFC2483]</a></p></li>
+ item type string">type string</a> is equal to <var title="">format</var>, if there is one.</p></li>
- <li><p>Return <var title="">result</var>.</p></li>
+ </ol><p class="note">The <code title="dom-DataTransfer-clearData"><a href="#dom-datatransfer-cleardata">clearData()</a></code> method does
+ not affect whether any files were included in the drag, so the <code title="dom-DataTransfer-types"><a href="#dom-datatransfer-types">types</a></code> attribute's list might
+ still not be empty after calling <code title="dom-DataTransfer-clearData"><a href="#dom-datatransfer-cleardata">clearData()</a></code> (it would
+ still contain the "<code title="">Files</code>" string if any files
+ were included in the drag).</p>
- </ol><p>The <dfn id="dom-datatransfer-files" title="dom-DataTransfer-files"><code>files</code></dfn>
+ <p>The <dfn id="dom-datatransfer-files" title="dom-DataTransfer-files"><code>files</code></dfn>
attribute must return a <a href="infrastructure.html#live">live</a> <code>FileList</code>
sequence consisting of <code>File</code> objects representing the
files found by the following steps. The same object must be returned
@@ -933,56 +1003,6 @@
</ol><p class="note">This version of the API does not expose the types of
the files during the drag.</p>
- <p>The <dfn id="dom-datatransfer-items" title="dom-DataTransfer-items"><code>items</code></dfn>
- attribute must return a <code><a href="#datatransferitems">DataTransferItems</a></code> object
- associated with the <code><a href="#datatransfer">DataTransfer</a></code> object. The same
- object must be returned each time.</p>
-
- <p>The <dfn id="dom-datatransfer-setdragimage" title="dom-DataTransfer-setDragImage"><code>setDragImage(<var title="">element</var>, <var title="">x</var>, <var title="">y</var>)</code></dfn> method must run the following
- steps:</p>
-
- <ol><li><p>If the <code><a href="#datatransfer">DataTransfer</a></code> object is no longer
- associated with a <a href="#drag-data-store">drag data store</a>, abort these steps.
- Nothing happens.</p></li>
-
- <li><p>If the <a href="#drag-data-store">drag data store</a>'s <a href="#drag-data-store-mode" title="drag data
- store mode">mode</a> is not in the <a href="#concept-dnd-rw" title="concept-dnd-rw">read/write mode</a>, abort these steps.
- Nothing happens.</p></li>
-
- <li><p>If the <var title="">element</var> argument is an
- <code><a href="embedded-content-1.html#the-img-element">img</a></code> element, then set the <a href="#drag-data-store-bitmap">drag data store
- bitmap</a> to the element's image (at its intrinsic size);
- otherwise, set the <a href="#drag-data-store-bitmap">drag data store bitmap</a> to an image
- generated from the given element (the exact mechanism for doing so
- is not currently specified).</p></li>
-
- <li><p>Set the <a href="#drag-data-store-hot-spot-coordinate">drag data store hot spot coordinate</a> to
- the given <var title="">x</var>, <var title="">y</var>
- coordinate.</p></li>
-
- </ol><p>The <dfn id="dom-datatransfer-addelement" title="dom-DataTransfer-addElement"><code>addElement(<var title="">element</var>)</code></dfn> method is an alternative way of
- specifying how the user agent is to <a href="#base-dnd-feedback">render the drag feedback</a>. The method
- must run the following steps:</p>
-
- <ol><li><p>If the <code><a href="#datatransfer">DataTransfer</a></code> object is no longer
- associated with a <a href="#drag-data-store">drag data store</a>, abort these steps.
- Nothing happens.</p></li>
-
- <li><p>If the <a href="#drag-data-store">drag data store</a>'s <a href="#drag-data-store-mode" title="drag data
- store mode">mode</a> is not in the <a href="#concept-dnd-rw" title="concept-dnd-rw">read/write mode</a>, abort these steps.
- Nothing happens.</p></li>
-
- <li><p>Add the given <var title="">element</var> to the element's
- <a href="#drag-data-store-elements-list">drag data store elements list</a>.</p></li>
-
- </ol><p class="note">The difference between <code title="dom-DataTransfer-setDragImage"><a href="#dom-datatransfer-setdragimage">setDragImage()</a></code> and
- <code title="dom-DataTransfer-addElement"><a href="#dom-datatransfer-addelement">addElement()</a></code> is
- that the latter automatically generates the image based on the
- current rendering of the elements added (potentially keeping it
- updated as the drag continues, e.g. if the elements include an
- actively playing video), whereas the former uses the exact specified
- image at the time the method is invoked.</p>
-
</div><h5 id="the-datatransferitems-interface"><span class="secno">7.7.3.1 </span>The <code><a href="#datatransferitems">DataTransferItems</a></code> interface</h5><p>Each <code><a href="#datatransfer">DataTransfer</a></code> object is associated with a
<code><a href="#datatransferitems">DataTransferItems</a></code> object.</p><pre class="idl">interface <dfn id="datatransferitems">DataTransferItems</dfn> {
readonly attribute unsigned long <a href="#dom-datatransferitems-length" title="dom-DataTransferItems-length">length</a>;
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1374
retrieving revision 1.1375
diff -u -d -r1.1374 -r1.1375
--- spec.html 18 Jan 2011 09:46:37 -0000 1.1374
+++ spec.html 20 Jan 2011 20:46:54 -0000 1.1375
@@ -329,7 +329,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-18-january-2011">Editor's Draft 18 January 2011</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-20-january-2011">Editor's Draft 20 January 2011</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>
@@ -351,7 +351,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">web developer edition</a>.
-This is revision 1.4650.
+This is revision 1.4653.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2010 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -464,7 +464,7 @@
Group</a> is the W3C working group responsible for this
specification's progress along the W3C Recommendation
track.
- This specification is the 18 January 2011 Editor's Draft.
+ This specification is the 20 January 2011 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>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
Received on Thursday, 20 January 2011 20:47:08 UTC