W3C home > Mailing lists > Public > public-html-diffs@w3.org > June 2011

hixie: Rename DataTransferItems to DataTransferItemList. (whatwg r6198)

From: poot <cvsmail@w3.org>
Date: Fri, 17 Jun 2011 05:54:07 -0400
To: public-html-diffs@w3.org
Message-Id: <E1QXVkd-0004qe-BC@jay.w3.org>
hixie: Rename DataTransferItems to DataTransferItemList. (whatwg r6198)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4966&r2=1.4967&f=h
http://html5.org/tools/web-apps-tracker?from=6197&to=6198

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4966
retrieving revision 1.4967
diff -u -d -r1.4966 -r1.4967
--- Overview.html	8 Jun 2011 22:08:59 -0000	1.4966
+++ Overview.html	8 Jun 2011 22:17:44 -0000	1.4967
@@ -1109,7 +1109,7 @@
      <li><a href="#the-drag-data-store"><span class="secno">7.7.2 </span>The drag data store</a></li>
      <li><a href="#the-datatransfer-interface"><span class="secno">7.7.3 </span>The <code>DataTransfer</code> interface</a>
       <ol>
-       <li><a href="#the-datatransferitems-interface"><span class="secno">7.7.3.1 </span>The <code>DataTransferItems</code> interface</a></li>
+       <li><a href="#the-datatransferitemlist-interface"><span class="secno">7.7.3.1 </span>The <code>DataTransferItemList</code> interface</a></li>
        <li><a href="#the-datatransferitem-interface"><span class="secno">7.7.3.2 </span>The <code>DataTransferItem</code> interface</a></ol></li>
      <li><a href="#the-dragevent-interface"><span class="secno">7.7.4 </span>The <code>DragEvent</code> interface</a></li>
      <li><a href="#drag-and-drop-processing-model"><span class="secno">7.7.5 </span>Drag-and-drop processing model</a></li>
@@ -52438,7 +52438,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);
@@ -52482,7 +52482,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>
 
@@ -52579,7 +52579,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>
 
@@ -52798,14 +52798,14 @@
   </ol><p class="note">This version of the API does not expose the types of
   the files during the drag.</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.<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>();
+  </div><h5 id="the-datatransferitemlist-interface"><span class="secno">7.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="#datatransferitemlist">DataTransferItemList</a></code> object.<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);  <a href="#datatransferitem">DataTransferItem</a> <a href="#dom-datatransferitems-add" title="dom-DataTransferItems-add">add</a>(in <a href="#file">File</a> data);};</pre><dl class="domintro"><dt><var title="">items</var> . <code title="dom-DataTransferItems-length"><a href="#dom-datatransferitems-length">length</a></code></dt>
+  <a href="#datatransferitem">DataTransferItem</a> <a href="#dom-datatransferitemlist-add" title="dom-DataTransferItemList-add">add</a>(in DOMString data, in DOMString type);  <a href="#datatransferitem">DataTransferItem</a> <a href="#dom-datatransferitemlist-add" title="dom-DataTransferItemList-add">add</a>(in <a href="#file">File</a> data);};</pre><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>
 
@@ -52828,7 +52828,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>
 
@@ -52837,8 +52837,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>
 
@@ -52851,26 +52851,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
 
@@ -52879,22 +52879,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>
@@ -52902,15 +52902,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>
 
@@ -52956,7 +52956,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>
Received on Friday, 17 June 2011 09:54:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 17 June 2011 09:54:25 GMT