[html5] r6198 - [giow] (0) Rename DataTransferItems to DataTransferItemList.

whatwg at whatwg.org whatwg at whatwg.org
Wed Jun 8 15:17:39 PDT 2011


Author: ianh
Date: 2011-06-08 15:17:38 -0700 (Wed, 08 Jun 2011)
New Revision: 6198

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Rename DataTransferItems to DataTransferItemList.

Modified: complete.html
===================================================================
--- complete.html	2011-06-08 22:08:53 UTC (rev 6197)
+++ complete.html	2011-06-08 22:17:38 UTC (rev 6198)
@@ -983,7 +983,7 @@
      <li><a href=#the-drag-data-store><span class=secno>8.7.2 </span>The drag data store</a></li>
      <li><a href=#the-datatransfer-interface><span class=secno>8.7.3 </span>The <code>DataTransfer</code> interface</a>
       <ol>
-       <li><a href=#the-datatransferitems-interface><span class=secno>8.7.3.1 </span>The <code>DataTransferItems</code> interface</a></li>
+       <li><a href=#the-datatransferitemlist-interface><span class=secno>8.7.3.1 </span>The <code>DataTransferItemList</code> interface</a></li>
        <li><a href=#the-datatransferitem-interface><span class=secno>8.7.3.2 </span>The <code>DataTransferItem</code> interface</a></ol></li>
      <li><a href=#the-dragevent-interface><span class=secno>8.7.4 </span>The <code>DragEvent</code> interface</a></li>
      <li><a href=#drag-and-drop-processing-model><span class=secno>8.7.5 </span>Drag-and-drop processing model</a></li>
@@ -71306,7 +71306,7 @@
            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 <a href=#datatransferitems>DataTransferItems</a> <a href=#dom-datatransfer-items title=dom-DataTransfer-items>items</a>;
+  readonly attribute <a href=#datatransferitemlist>DataTransferItemList</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);
@@ -71352,7 +71352,7 @@
 
    <dd>
 
-    <p>Returns a <code><a href=#datatransferitems>DataTransferItems</a></code> object, with the drag data.</p>
+    <p>Returns a <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object, with the drag data.</p>
 
    </dd>
 
@@ -71451,7 +71451,7 @@
   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
+  attribute must return a <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object
   associated with the <code><a href=#datatransfer>DataTransfer</a></code> object. The same
   object must be returned each time.</p>
 
@@ -71673,25 +71673,25 @@
   </div>
 
 
-  <h5 id=the-datatransferitems-interface><span class=secno>8.7.3.1 </span>The <code><a href=#datatransferitems>DataTransferItems</a></code> interface</h5>
+  <h5 id=the-datatransferitemlist-interface><span class=secno>8.7.3.1 </span>The <code><a href=#datatransferitemlist>DataTransferItemList</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>
+  <code><a href=#datatransferitemlist>DataTransferItemList</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>;
-  <a href=#dom-datatransferitems-item title=dom-DataTransferItems-item>getter</a> <a href=#datatransferitem>DataTransferItem</a> (in unsigned long index);
-  <a href=#dom-datatransferitems-removeitem title=dom-DataTransferItems-removeItem>deleter</a> void (in unsigned long index);
-  void <a href=#dom-datatransferitems-clear title=dom-DataTransferItems-clear>clear</a>();
+  <pre class=idl>interface <dfn id=datatransferitemlist>DataTransferItemList</dfn> {
+  readonly attribute unsigned long <a href=#dom-datatransferitemlist-length title=dom-DataTransferItemList-length>length</a>;
+  <a href=#dom-datatransferitemlist-item title=dom-DataTransferItemList-item>getter</a> <a href=#datatransferitem>DataTransferItem</a> (in unsigned long index);
+  <a href=#dom-datatransferitemlist-removeitem title=dom-DataTransferItemList-removeItem>deleter</a> void (in unsigned long index);
+  void <a href=#dom-datatransferitemlist-clear title=dom-DataTransferItemList-clear>clear</a>();
 
-  <a href=#datatransferitem>DataTransferItem</a> <a href=#dom-datatransferitems-add title=dom-DataTransferItems-add>add</a>(in DOMString data, in DOMString type);<!--
-DND-v3:  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in <span>Blob</span> data);-->
-  <a href=#datatransferitem>DataTransferItem</a> <a href=#dom-datatransferitems-add title=dom-DataTransferItems-add>add</a>(in <a href=#file>File</a> data);<!--
-DND-v4:  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in any data, in DOMString type);--><!--
-DND-v5:  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in <span>DataTransferPromise</span> data);-->
+  <a href=#datatransferitem>DataTransferItem</a> <a href=#dom-datatransferitemlist-add title=dom-DataTransferItemList-add>add</a>(in DOMString data, in DOMString type);<!--
+DND-v3:  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in <span>Blob</span> data);-->
+  <a href=#datatransferitem>DataTransferItem</a> <a href=#dom-datatransferitemlist-add title=dom-DataTransferItemList-add>add</a>(in <a href=#file>File</a> data);<!--
+DND-v4:  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in any data, in DOMString type);--><!--
+DND-v5:  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in <span>DataTransferPromise</span> data);-->
 };</pre>
 
-  <dl class=domintro><dt><var title="">items</var> . <code title=dom-DataTransferItems-length><a href=#dom-datatransferitems-length>length</a></code></dt>
+  <dl class=domintro><dt><var title="">items</var> . <code title=dom-DataTransferItemList-length><a href=#dom-datatransferitemlist-length>length</a></code></dt>
 
    <dd><p>Returns the number of items in the <a href=#drag-data-store>drag data store</a>.</dd>
 
@@ -71714,7 +71714,7 @@
    </dd>
 
 
-   <dt><var title="">items</var> . <code title=dom-DataTransferItems-clear><a href=#dom-datatransferitems-clear>clear</a></code>()</dt>
+   <dt><var title="">items</var> . <code title=dom-DataTransferItemList-clear><a href=#dom-datatransferitemlist-clear>clear</a></code>()</dt>
 
    <dd>
 
@@ -71723,8 +71723,8 @@
    </dd>
 
 
-   <dt><var title="">items</var> . <code title=dom-DataTransferItems-add><a href=#dom-datatransferitems-add>add</a></code>(<var title="">data</var>)</dt>
-   <dt><var title="">items</var> . <code title=dom-DataTransferItems-add><a href=#dom-datatransferitems-add>add</a></code>(<var title="">data</var>, <var title="">type</var>)</dt>
+   <dt><var title="">items</var> . <code title=dom-DataTransferItemList-add><a href=#dom-datatransferitemlist-add>add</a></code>(<var title="">data</var>)</dt>
+   <dt><var title="">items</var> . <code title=dom-DataTransferItemList-add><a href=#dom-datatransferitemlist-add>add</a></code>(<var title="">data</var>, <var title="">type</var>)</dt>
 
    <dd>
 
@@ -71737,26 +71737,26 @@
 
   </dl><div class=impl>
 
-  <p>While the <code><a href=#datatransferitems>DataTransferItems</a></code> object's
+  <p>While the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object's
   <code><a href=#datatransfer>DataTransfer</a></code> object is associated with a <a href=#drag-data-store>drag
-  data store</a>, the <code><a href=#datatransferitems>DataTransferItems</a></code> object's
+  data store</a>, the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object's
   <i>mode</i> is the same as the <a href=#drag-data-store-mode>drag data store mode</a>.
-  When the <code><a href=#datatransferitems>DataTransferItems</a></code> object's
+  When the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object's
   <code><a href=#datatransfer>DataTransfer</a></code> object is <em>not</em> associated with a
-  <a href=#drag-data-store>drag data store</a>, the <code><a href=#datatransferitems>DataTransferItems</a></code>
+  <a href=#drag-data-store>drag data store</a>, the <code><a href=#datatransferitemlist>DataTransferItemList</a></code>
   object's <i>mode</i> is the <i>disabled mode</i>. The <a href=#drag-data-store>drag
   data store</a> referenced in this section (which is used only
-  when the <code><a href=#datatransferitems>DataTransferItems</a></code> object is not in the
+  when the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object is not in the
   <i>disabled mode</i>) is the <a href=#drag-data-store>drag data store</a> with which
-  the <code><a href=#datatransferitems>DataTransferItems</a></code> object's
+  the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object's
   <code><a href=#datatransfer>DataTransfer</a></code> object is associated.</p>
 
-  <p>The <dfn id=dom-datatransferitems-length title=dom-DataTransferItems-length><code>length</code></dfn>
+  <p>The <dfn id=dom-datatransferitemlist-length title=dom-DataTransferItemList-length><code>length</code></dfn>
   attribute must return zero if the object is in the <i>disabled
   mode</i>; otherwise it must return the number of items in the
   <a href=#drag-data-store-item-list>drag data store item list</a>.</p>
 
-  <p>When a <code><a href=#datatransferitems>DataTransferItems</a></code> object is not in the
+  <p>When a <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object is not in the
   <i>disabled mode</i>, its <a href=#supported-property-indices>supported property indices</a>
   are the numbers in the range
 
@@ -71765,22 +71765,22 @@
   where <var title="">n</var> is the number of items in the <a href=#drag-data-store-item-list>drag
   data store item list</a>.</p>
 
-  <p>To <dfn id=dom-datatransferitems-item title=dom-DataTransferItems-item>determine the value of
+  <p>To <dfn id=dom-datatransferitemlist-item title=dom-DataTransferItemList-item>determine the value of
   an indexed property</dfn> <var title="">i</var> of a
-  <code><a href=#datatransferitems>DataTransferItems</a></code> object, the user agent must return a
+  <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object, the user agent must return a
   <code><a href=#datatransferitem>DataTransferItem</a></code> object representing the <var title="">i</var>th item in the <a href=#drag-data-store>drag data store</a>. The
   same object must be returned each time a particular item is obtained
-  from this <code><a href=#datatransferitems>DataTransferItems</a></code> object. The
+  from this <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object. The
   <code><a href=#datatransferitem>DataTransferItem</a></code> object must be associated with the
   same <code><a href=#datatransfer>DataTransfer</a></code> object as the
-  <code><a href=#datatransferitems>DataTransferItems</a></code> object when it is first created.</p>
+  <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object when it is first created.</p>
 
-  <p>To <dfn id=dom-datatransferitems-removeitem title=dom-DataTransferItems-removeItem>delete an
+  <p>To <dfn id=dom-datatransferitemlist-removeitem title=dom-DataTransferItemList-removeItem>delete an
   existing indexed property</dfn> <var title="">i</var> of a
-  <code><a href=#datatransferitems>DataTransferItems</a></code> object, the user agent must run these
+  <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object, the user agent must run these
   steps:</p>
 
-  <ol><li><p>If the <code><a href=#datatransferitems>DataTransferItems</a></code> object is not in the
+  <ol><li><p>If the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object is not in the
    <i title=concept-dnd-rw><a href=#concept-dnd-rw>read/write mode</a></i>, throw an
    <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception and abort these
    steps.</li>
@@ -71788,15 +71788,15 @@
    <li><p>Remove the <var title="">i</var>th item from the <a href=#drag-data-store>drag
    data store</a>.</li>
 
-  </ol><p>The <dfn id=dom-datatransferitems-clear title=dom-DataTransferItems-clear><code>clear</code></dfn> method,
-  if the <code><a href=#datatransferitems>DataTransferItems</a></code> object is in the <i title=concept-dnd-rw><a href=#concept-dnd-rw>read/write mode</a></i>, must remove all the
+  </ol><p>The <dfn id=dom-datatransferitemlist-clear title=dom-DataTransferItemList-clear><code>clear</code></dfn> method,
+  if the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object is in the <i title=concept-dnd-rw><a href=#concept-dnd-rw>read/write mode</a></i>, must remove all the
   items from the <a href=#drag-data-store>drag data store</a>. Otherwise, it must do
   nothing.</p>
 
-  <p>The <dfn id=dom-datatransferitems-add title=dom-DataTransferItems-add><code>add()</code></dfn> method
+  <p>The <dfn id=dom-datatransferitemlist-add title=dom-DataTransferItemList-add><code>add()</code></dfn> method
   must run the following steps:</p>
 
-  <ol><li><p>If the <code><a href=#datatransferitems>DataTransferItems</a></code> object is not in the
+  <ol><li><p>If the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object is not in the
    <i title=concept-dnd-rw><a href=#concept-dnd-rw>read/write mode</a></i>, return null and
    abort these steps.</li>
 
@@ -71874,7 +71874,7 @@
 
     </dl></li>
 
-   <li><p><a href=#dom-datatransferitems-item title=dom-DataTransferItems-item>Determine the value
+   <li><p><a href=#dom-datatransferitemlist-item title=dom-DataTransferItemList-item>Determine the value
    of the indexed property</a> corresponding to the newly added
    item, and return that value (a newly created
    <code><a href=#datatransferitem>DataTransferItem</a></code> object).</li>

Modified: index
===================================================================
--- index	2011-06-08 22:08:53 UTC (rev 6197)
+++ index	2011-06-08 22:17:38 UTC (rev 6198)
@@ -983,7 +983,7 @@
      <li><a href=#the-drag-data-store><span class=secno>8.7.2 </span>The drag data store</a></li>
      <li><a href=#the-datatransfer-interface><span class=secno>8.7.3 </span>The <code>DataTransfer</code> interface</a>
       <ol>
-       <li><a href=#the-datatransferitems-interface><span class=secno>8.7.3.1 </span>The <code>DataTransferItems</code> interface</a></li>
+       <li><a href=#the-datatransferitemlist-interface><span class=secno>8.7.3.1 </span>The <code>DataTransferItemList</code> interface</a></li>
        <li><a href=#the-datatransferitem-interface><span class=secno>8.7.3.2 </span>The <code>DataTransferItem</code> interface</a></ol></li>
      <li><a href=#the-dragevent-interface><span class=secno>8.7.4 </span>The <code>DragEvent</code> interface</a></li>
      <li><a href=#drag-and-drop-processing-model><span class=secno>8.7.5 </span>Drag-and-drop processing model</a></li>
@@ -71319,7 +71319,7 @@
            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 <a href=#datatransferitems>DataTransferItems</a> <a href=#dom-datatransfer-items title=dom-DataTransfer-items>items</a>;
+  readonly attribute <a href=#datatransferitemlist>DataTransferItemList</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);
@@ -71365,7 +71365,7 @@
 
    <dd>
 
-    <p>Returns a <code><a href=#datatransferitems>DataTransferItems</a></code> object, with the drag data.</p>
+    <p>Returns a <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object, with the drag data.</p>
 
    </dd>
 
@@ -71464,7 +71464,7 @@
   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
+  attribute must return a <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object
   associated with the <code><a href=#datatransfer>DataTransfer</a></code> object. The same
   object must be returned each time.</p>
 
@@ -71686,25 +71686,25 @@
   </div>
 
 
-  <h5 id=the-datatransferitems-interface><span class=secno>8.7.3.1 </span>The <code><a href=#datatransferitems>DataTransferItems</a></code> interface</h5>
+  <h5 id=the-datatransferitemlist-interface><span class=secno>8.7.3.1 </span>The <code><a href=#datatransferitemlist>DataTransferItemList</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>
+  <code><a href=#datatransferitemlist>DataTransferItemList</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>;
-  <a href=#dom-datatransferitems-item title=dom-DataTransferItems-item>getter</a> <a href=#datatransferitem>DataTransferItem</a> (in unsigned long index);
-  <a href=#dom-datatransferitems-removeitem title=dom-DataTransferItems-removeItem>deleter</a> void (in unsigned long index);
-  void <a href=#dom-datatransferitems-clear title=dom-DataTransferItems-clear>clear</a>();
+  <pre class=idl>interface <dfn id=datatransferitemlist>DataTransferItemList</dfn> {
+  readonly attribute unsigned long <a href=#dom-datatransferitemlist-length title=dom-DataTransferItemList-length>length</a>;
+  <a href=#dom-datatransferitemlist-item title=dom-DataTransferItemList-item>getter</a> <a href=#datatransferitem>DataTransferItem</a> (in unsigned long index);
+  <a href=#dom-datatransferitemlist-removeitem title=dom-DataTransferItemList-removeItem>deleter</a> void (in unsigned long index);
+  void <a href=#dom-datatransferitemlist-clear title=dom-DataTransferItemList-clear>clear</a>();
 
-  <a href=#datatransferitem>DataTransferItem</a> <a href=#dom-datatransferitems-add title=dom-DataTransferItems-add>add</a>(in DOMString data, in DOMString type);<!--
-DND-v3:  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in <span>Blob</span> data);-->
-  <a href=#datatransferitem>DataTransferItem</a> <a href=#dom-datatransferitems-add title=dom-DataTransferItems-add>add</a>(in <a href=#file>File</a> data);<!--
-DND-v4:  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in any data, in DOMString type);--><!--
-DND-v5:  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in <span>DataTransferPromise</span> data);-->
+  <a href=#datatransferitem>DataTransferItem</a> <a href=#dom-datatransferitemlist-add title=dom-DataTransferItemList-add>add</a>(in DOMString data, in DOMString type);<!--
+DND-v3:  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in <span>Blob</span> data);-->
+  <a href=#datatransferitem>DataTransferItem</a> <a href=#dom-datatransferitemlist-add title=dom-DataTransferItemList-add>add</a>(in <a href=#file>File</a> data);<!--
+DND-v4:  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in any data, in DOMString type);--><!--
+DND-v5:  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in <span>DataTransferPromise</span> data);-->
 };</pre>
 
-  <dl class=domintro><dt><var title="">items</var> . <code title=dom-DataTransferItems-length><a href=#dom-datatransferitems-length>length</a></code></dt>
+  <dl class=domintro><dt><var title="">items</var> . <code title=dom-DataTransferItemList-length><a href=#dom-datatransferitemlist-length>length</a></code></dt>
 
    <dd><p>Returns the number of items in the <a href=#drag-data-store>drag data store</a>.</dd>
 
@@ -71727,7 +71727,7 @@
    </dd>
 
 
-   <dt><var title="">items</var> . <code title=dom-DataTransferItems-clear><a href=#dom-datatransferitems-clear>clear</a></code>()</dt>
+   <dt><var title="">items</var> . <code title=dom-DataTransferItemList-clear><a href=#dom-datatransferitemlist-clear>clear</a></code>()</dt>
 
    <dd>
 
@@ -71736,8 +71736,8 @@
    </dd>
 
 
-   <dt><var title="">items</var> . <code title=dom-DataTransferItems-add><a href=#dom-datatransferitems-add>add</a></code>(<var title="">data</var>)</dt>
-   <dt><var title="">items</var> . <code title=dom-DataTransferItems-add><a href=#dom-datatransferitems-add>add</a></code>(<var title="">data</var>, <var title="">type</var>)</dt>
+   <dt><var title="">items</var> . <code title=dom-DataTransferItemList-add><a href=#dom-datatransferitemlist-add>add</a></code>(<var title="">data</var>)</dt>
+   <dt><var title="">items</var> . <code title=dom-DataTransferItemList-add><a href=#dom-datatransferitemlist-add>add</a></code>(<var title="">data</var>, <var title="">type</var>)</dt>
 
    <dd>
 
@@ -71750,26 +71750,26 @@
 
   </dl><div class=impl>
 
-  <p>While the <code><a href=#datatransferitems>DataTransferItems</a></code> object's
+  <p>While the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object's
   <code><a href=#datatransfer>DataTransfer</a></code> object is associated with a <a href=#drag-data-store>drag
-  data store</a>, the <code><a href=#datatransferitems>DataTransferItems</a></code> object's
+  data store</a>, the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object's
   <i>mode</i> is the same as the <a href=#drag-data-store-mode>drag data store mode</a>.
-  When the <code><a href=#datatransferitems>DataTransferItems</a></code> object's
+  When the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object's
   <code><a href=#datatransfer>DataTransfer</a></code> object is <em>not</em> associated with a
-  <a href=#drag-data-store>drag data store</a>, the <code><a href=#datatransferitems>DataTransferItems</a></code>
+  <a href=#drag-data-store>drag data store</a>, the <code><a href=#datatransferitemlist>DataTransferItemList</a></code>
   object's <i>mode</i> is the <i>disabled mode</i>. The <a href=#drag-data-store>drag
   data store</a> referenced in this section (which is used only
-  when the <code><a href=#datatransferitems>DataTransferItems</a></code> object is not in the
+  when the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object is not in the
   <i>disabled mode</i>) is the <a href=#drag-data-store>drag data store</a> with which
-  the <code><a href=#datatransferitems>DataTransferItems</a></code> object's
+  the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object's
   <code><a href=#datatransfer>DataTransfer</a></code> object is associated.</p>
 
-  <p>The <dfn id=dom-datatransferitems-length title=dom-DataTransferItems-length><code>length</code></dfn>
+  <p>The <dfn id=dom-datatransferitemlist-length title=dom-DataTransferItemList-length><code>length</code></dfn>
   attribute must return zero if the object is in the <i>disabled
   mode</i>; otherwise it must return the number of items in the
   <a href=#drag-data-store-item-list>drag data store item list</a>.</p>
 
-  <p>When a <code><a href=#datatransferitems>DataTransferItems</a></code> object is not in the
+  <p>When a <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object is not in the
   <i>disabled mode</i>, its <a href=#supported-property-indices>supported property indices</a>
   are the numbers in the range
 
@@ -71778,22 +71778,22 @@
   where <var title="">n</var> is the number of items in the <a href=#drag-data-store-item-list>drag
   data store item list</a>.</p>
 
-  <p>To <dfn id=dom-datatransferitems-item title=dom-DataTransferItems-item>determine the value of
+  <p>To <dfn id=dom-datatransferitemlist-item title=dom-DataTransferItemList-item>determine the value of
   an indexed property</dfn> <var title="">i</var> of a
-  <code><a href=#datatransferitems>DataTransferItems</a></code> object, the user agent must return a
+  <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object, the user agent must return a
   <code><a href=#datatransferitem>DataTransferItem</a></code> object representing the <var title="">i</var>th item in the <a href=#drag-data-store>drag data store</a>. The
   same object must be returned each time a particular item is obtained
-  from this <code><a href=#datatransferitems>DataTransferItems</a></code> object. The
+  from this <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object. The
   <code><a href=#datatransferitem>DataTransferItem</a></code> object must be associated with the
   same <code><a href=#datatransfer>DataTransfer</a></code> object as the
-  <code><a href=#datatransferitems>DataTransferItems</a></code> object when it is first created.</p>
+  <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object when it is first created.</p>
 
-  <p>To <dfn id=dom-datatransferitems-removeitem title=dom-DataTransferItems-removeItem>delete an
+  <p>To <dfn id=dom-datatransferitemlist-removeitem title=dom-DataTransferItemList-removeItem>delete an
   existing indexed property</dfn> <var title="">i</var> of a
-  <code><a href=#datatransferitems>DataTransferItems</a></code> object, the user agent must run these
+  <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object, the user agent must run these
   steps:</p>
 
-  <ol><li><p>If the <code><a href=#datatransferitems>DataTransferItems</a></code> object is not in the
+  <ol><li><p>If the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object is not in the
    <i title=concept-dnd-rw><a href=#concept-dnd-rw>read/write mode</a></i>, throw an
    <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception and abort these
    steps.</li>
@@ -71801,15 +71801,15 @@
    <li><p>Remove the <var title="">i</var>th item from the <a href=#drag-data-store>drag
    data store</a>.</li>
 
-  </ol><p>The <dfn id=dom-datatransferitems-clear title=dom-DataTransferItems-clear><code>clear</code></dfn> method,
-  if the <code><a href=#datatransferitems>DataTransferItems</a></code> object is in the <i title=concept-dnd-rw><a href=#concept-dnd-rw>read/write mode</a></i>, must remove all the
+  </ol><p>The <dfn id=dom-datatransferitemlist-clear title=dom-DataTransferItemList-clear><code>clear</code></dfn> method,
+  if the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object is in the <i title=concept-dnd-rw><a href=#concept-dnd-rw>read/write mode</a></i>, must remove all the
   items from the <a href=#drag-data-store>drag data store</a>. Otherwise, it must do
   nothing.</p>
 
-  <p>The <dfn id=dom-datatransferitems-add title=dom-DataTransferItems-add><code>add()</code></dfn> method
+  <p>The <dfn id=dom-datatransferitemlist-add title=dom-DataTransferItemList-add><code>add()</code></dfn> method
   must run the following steps:</p>
 
-  <ol><li><p>If the <code><a href=#datatransferitems>DataTransferItems</a></code> object is not in the
+  <ol><li><p>If the <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object is not in the
    <i title=concept-dnd-rw><a href=#concept-dnd-rw>read/write mode</a></i>, return null and
    abort these steps.</li>
 
@@ -71887,7 +71887,7 @@
 
     </dl></li>
 
-   <li><p><a href=#dom-datatransferitems-item title=dom-DataTransferItems-item>Determine the value
+   <li><p><a href=#dom-datatransferitemlist-item title=dom-DataTransferItemList-item>Determine the value
    of the indexed property</a> corresponding to the newly added
    item, and return that value (a newly created
    <code><a href=#datatransferitem>DataTransferItem</a></code> object).</li>

Modified: source
===================================================================
--- source	2011-06-08 22:08:53 UTC (rev 6197)
+++ source	2011-06-08 22:17:38 UTC (rev 6198)
@@ -81412,7 +81412,7 @@
            attribute DOMString <span title="dom-DataTransfer-dropEffect">dropEffect</span>;
            attribute DOMString <span title="dom-DataTransfer-effectAllowed">effectAllowed</span>;
 
-  readonly attribute <span>DataTransferItems</span> <span title="dom-DataTransfer-items">items</span>;
+  readonly attribute <span>DataTransferItemList</span> <span title="dom-DataTransfer-items">items</span>;
 
   void <span title="dom-DataTransfer-setDragImage">setDragImage</span>(in Element image, in long x, in long y);
   void <span title="dom-DataTransfer-addElement">addElement</span>(in Element element);
@@ -81466,7 +81466,7 @@
 
    <dd>
 
-    <p>Returns a <code>DataTransferItems</code> object, with the drag data.</p>
+    <p>Returns a <code>DataTransferItemList</code> object, with the drag data.</p>
 
    </dd>
 
@@ -81579,7 +81579,7 @@
   must be set to the new value. Other values must be ignored.</p>
 
   <p>The <dfn title="dom-DataTransfer-items"><code>items</code></dfn>
-  attribute must return a <code>DataTransferItems</code> object
+  attribute must return a <code>DataTransferItemList</code> object
   associated with the <code>DataTransfer</code> object. The same
   object must be returned each time.</p>
 
@@ -81872,27 +81872,27 @@
   </div>
 
 
-  <h5>The <code>DataTransferItems</code> interface</h5>
+  <h5>The <code>DataTransferItemList</code> interface</h5>
 
   <p>Each <code>DataTransfer</code> object is associated with a
-  <code>DataTransferItems</code> object.</p>
+  <code>DataTransferItemList</code> object.</p>
 
-  <pre class="idl">interface <dfn>DataTransferItems</dfn> {
-  readonly attribute unsigned long <span title="dom-DataTransferItems-length">length</span>;
-  <span title="dom-DataTransferItems-item">getter</span> <span>DataTransferItem</span> (in unsigned long index);
-  <span title="dom-DataTransferItems-removeItem">deleter</span> void (in unsigned long index);
-  void <span title="dom-DataTransferItems-clear">clear</span>();
+  <pre class="idl">interface <dfn>DataTransferItemList</dfn> {
+  readonly attribute unsigned long <span title="dom-DataTransferItemList-length">length</span>;
+  <span title="dom-DataTransferItemList-item">getter</span> <span>DataTransferItem</span> (in unsigned long index);
+  <span title="dom-DataTransferItemList-removeItem">deleter</span> void (in unsigned long index);
+  void <span title="dom-DataTransferItemList-clear">clear</span>();
 
-  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in DOMString data, in DOMString type);<!--
-DND-v3:  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in <span>Blob</span> data);-->
-  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in <span>File</span> data);<!--
-DND-v4:  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in any data, in DOMString type);--><!--
-DND-v5:  <span>DataTransferItem</span> <span title="dom-DataTransferItems-add">add</span>(in <span>DataTransferPromise</span> data);-->
+  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in DOMString data, in DOMString type);<!--
+DND-v3:  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in <span>Blob</span> data);-->
+  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in <span>File</span> data);<!--
+DND-v4:  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in any data, in DOMString type);--><!--
+DND-v5:  <span>DataTransferItem</span> <span title="dom-DataTransferItemList-add">add</span>(in <span>DataTransferPromise</span> data);-->
 };</pre>
 
   <dl class="domintro">
 
-   <dt><var title="">items</var> . <code title="dom-DataTransferItems-length">length</code></dt>
+   <dt><var title="">items</var> . <code title="dom-DataTransferItemList-length">length</code></dt>
 
    <dd><p>Returns the number of items in the <span>drag data store</span>.</p></dd>
 
@@ -81915,7 +81915,7 @@
    </dd>
 
 
-   <dt><var title="">items</var> . <code title="dom-DataTransferItems-clear">clear</code>()</dt>
+   <dt><var title="">items</var> . <code title="dom-DataTransferItemList-clear">clear</code>()</dt>
 
    <dd>
 
@@ -81924,8 +81924,8 @@
    </dd>
 
 
-   <dt><var title="">items</var> . <code title="dom-DataTransferItems-add">add</code>(<var title="">data</var>)</dt>
-   <dt><var title="">items</var> . <code title="dom-DataTransferItems-add">add</code>(<var title="">data</var>, <var title="">type</var>)</dt>
+   <dt><var title="">items</var> . <code title="dom-DataTransferItemList-add">add</code>(<var title="">data</var>)</dt>
+   <dt><var title="">items</var> . <code title="dom-DataTransferItemList-add">add</code>(<var title="">data</var>, <var title="">type</var>)</dt>
 
    <dd>
 
@@ -81940,27 +81940,27 @@
 
   <div class="impl">
 
-  <p>While the <code>DataTransferItems</code> object's
+  <p>While the <code>DataTransferItemList</code> object's
   <code>DataTransfer</code> object is associated with a <span>drag
-  data store</span>, the <code>DataTransferItems</code> object's
+  data store</span>, the <code>DataTransferItemList</code> object's
   <i>mode</i> is the same as the <span>drag data store mode</span>.
-  When the <code>DataTransferItems</code> object's
+  When the <code>DataTransferItemList</code> object's
   <code>DataTransfer</code> object is <em>not</em> associated with a
-  <span>drag data store</span>, the <code>DataTransferItems</code>
+  <span>drag data store</span>, the <code>DataTransferItemList</code>
   object's <i>mode</i> is the <i>disabled mode</i>. The <span>drag
   data store</span> referenced in this section (which is used only
-  when the <code>DataTransferItems</code> object is not in the
+  when the <code>DataTransferItemList</code> object is not in the
   <i>disabled mode</i>) is the <span>drag data store</span> with which
-  the <code>DataTransferItems</code> object's
+  the <code>DataTransferItemList</code> object's
   <code>DataTransfer</code> object is associated.</p>
 
   <p>The <dfn
-  title="dom-DataTransferItems-length"><code>length</code></dfn>
+  title="dom-DataTransferItemList-length"><code>length</code></dfn>
   attribute must return zero if the object is in the <i>disabled
   mode</i>; otherwise it must return the number of items in the
   <span>drag data store item list</span>.</p>
 
-  <p>When a <code>DataTransferItems</code> object is not in the
+  <p>When a <code>DataTransferItemList</code> object is not in the
   <i>disabled mode</i>, its <span>supported property indices</span>
   are the numbers in the range
 
@@ -81969,25 +81969,25 @@
   where <var title="">n</var> is the number of items in the <span>drag
   data store item list</span>.</p>
 
-  <p>To <dfn title="dom-DataTransferItems-item">determine the value of
+  <p>To <dfn title="dom-DataTransferItemList-item">determine the value of
   an indexed property</dfn> <var title="">i</var> of a
-  <code>DataTransferItems</code> object, the user agent must return a
+  <code>DataTransferItemList</code> object, the user agent must return a
   <code>DataTransferItem</code> object representing the <var
   title="">i</var>th item in the <span>drag data store</span>. The
   same object must be returned each time a particular item is obtained
-  from this <code>DataTransferItems</code> object. The
+  from this <code>DataTransferItemList</code> object. The
   <code>DataTransferItem</code> object must be associated with the
   same <code>DataTransfer</code> object as the
-  <code>DataTransferItems</code> object when it is first created.</p>
+  <code>DataTransferItemList</code> object when it is first created.</p>
 
-  <p>To <dfn title="dom-DataTransferItems-removeItem">delete an
+  <p>To <dfn title="dom-DataTransferItemList-removeItem">delete an
   existing indexed property</dfn> <var title="">i</var> of a
-  <code>DataTransferItems</code> object, the user agent must run these
+  <code>DataTransferItemList</code> object, the user agent must run these
   steps:</p>
 
   <ol>
 
-   <li><p>If the <code>DataTransferItems</code> object is not in the
+   <li><p>If the <code>DataTransferItemList</code> object is not in the
    <i title="concept-dnd-rw">read/write mode</i>, throw an
    <code>INVALID_STATE_ERR</code> exception and abort these
    steps.</p></li>
@@ -81998,19 +81998,19 @@
   </ol>
 
   <p>The <dfn
-  title="dom-DataTransferItems-clear"><code>clear</code></dfn> method,
-  if the <code>DataTransferItems</code> object is in the <i
+  title="dom-DataTransferItemList-clear"><code>clear</code></dfn> method,
+  if the <code>DataTransferItemList</code> object is in the <i
   title="concept-dnd-rw">read/write mode</i>, must remove all the
   items from the <span>drag data store</span>. Otherwise, it must do
   nothing.</p>
 
   <p>The <dfn
-  title="dom-DataTransferItems-add"><code>add()</code></dfn> method
+  title="dom-DataTransferItemList-add"><code>add()</code></dfn> method
   must run the following steps:</p>
 
   <ol>
 
-   <li><p>If the <code>DataTransferItems</code> object is not in the
+   <li><p>If the <code>DataTransferItemList</code> object is not in the
    <i title="concept-dnd-rw">read/write mode</i>, return null and
    abort these steps.</p></li>
 
@@ -82095,7 +82095,7 @@
 
    </li>
 
-   <li><p><span title="dom-DataTransferItems-item">Determine the value
+   <li><p><span title="dom-DataTransferItemList-item">Determine the value
    of the indexed property</span> corresponding to the newly added
    item, and return that value (a newly created
    <code>DataTransferItem</code> object).</p></li>




More information about the Commit-Watchers mailing list