[html5] r7857 - [giow] (0) Change indexed deleter to a method. Fixing https://www.w3.org/Bugs/Pu [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Apr 26 17:01:54 PDT 2013


Author: ianh
Date: 2013-04-26 17:01:52 -0700 (Fri, 26 Apr 2013)
New Revision: 7857

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Change indexed deleter to a method.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20570
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-04-26 23:25:30 UTC (rev 7856)
+++ complete.html	2013-04-27 00:01:52 UTC (rev 7857)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 26 April 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 27 April 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -75935,7 +75935,7 @@
   <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> (unsigned long index);
-  <a href=#dom-datatransferitemlist-removeitem title=dom-DataTransferItemList-removeItem>deleter</a> void (unsigned long index);
+  void <a href=#dom-datatransferitemlist-remove title=dom-DataTransferItemList-remove>remove</a>(unsigned long index);
   void <a href=#dom-datatransferitemlist-clear title=dom-DataTransferItemList-clear>clear</a>();
 
   <a href=#datatransferitem>DataTransferItem</a>? <a href=#dom-datatransferitemlist-add title=dom-DataTransferItemList-add>add</a>(DOMString data, DOMString type);<!--
@@ -75982,6 +75982,8 @@
 
    <dd>
 
+<!--CLEANUP-->
+
     <p>Adds a new entry for the given data to the <a href=#drag-data-store>drag data
     store</a>. If the data is plain text <!-- DND-v4: or an object -->
     then a <var title="">type</var> string has to be provided
@@ -76029,10 +76031,9 @@
   same <code><a href=#datatransfer>DataTransfer</a></code> object as the
   <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object when it is first created.</p>
 
-  <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=#datatransferitemlist>DataTransferItemList</a></code> object, the user agent must run these
-  steps:</p>
+<!--CLEANUP--><!--MOVE this down below add() -->
+  <p>The <dfn id=dom-datatransferitemlist-remove title=dom-DataTransferItemList-remove><code>remove()</code></dfn> method, when
+  invoked with the argument <var title="">i</var>, must run these steps:</p>
 
   <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

Modified: index
===================================================================
--- index	2013-04-26 23:25:30 UTC (rev 7856)
+++ index	2013-04-27 00:01:52 UTC (rev 7857)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 26 April 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 27 April 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -75935,7 +75935,7 @@
   <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> (unsigned long index);
-  <a href=#dom-datatransferitemlist-removeitem title=dom-DataTransferItemList-removeItem>deleter</a> void (unsigned long index);
+  void <a href=#dom-datatransferitemlist-remove title=dom-DataTransferItemList-remove>remove</a>(unsigned long index);
   void <a href=#dom-datatransferitemlist-clear title=dom-DataTransferItemList-clear>clear</a>();
 
   <a href=#datatransferitem>DataTransferItem</a>? <a href=#dom-datatransferitemlist-add title=dom-DataTransferItemList-add>add</a>(DOMString data, DOMString type);<!--
@@ -75982,6 +75982,8 @@
 
    <dd>
 
+<!--CLEANUP-->
+
     <p>Adds a new entry for the given data to the <a href=#drag-data-store>drag data
     store</a>. If the data is plain text <!-- DND-v4: or an object -->
     then a <var title="">type</var> string has to be provided
@@ -76029,10 +76031,9 @@
   same <code><a href=#datatransfer>DataTransfer</a></code> object as the
   <code><a href=#datatransferitemlist>DataTransferItemList</a></code> object when it is first created.</p>
 
-  <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=#datatransferitemlist>DataTransferItemList</a></code> object, the user agent must run these
-  steps:</p>
+<!--CLEANUP--><!--MOVE this down below add() -->
+  <p>The <dfn id=dom-datatransferitemlist-remove title=dom-DataTransferItemList-remove><code>remove()</code></dfn> method, when
+  invoked with the argument <var title="">i</var>, must run these steps:</p>
 
   <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

Modified: source
===================================================================
--- source	2013-04-26 23:25:30 UTC (rev 7856)
+++ source	2013-04-27 00:01:52 UTC (rev 7857)
@@ -85268,7 +85268,7 @@
   <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> (unsigned long index);
-  <span title="dom-DataTransferItemList-removeItem">deleter</span> void (unsigned long index);
+  void <span title="dom-DataTransferItemList-remove">remove</span>(unsigned long index);
   void <span title="dom-DataTransferItemList-clear">clear</span>();
 
   <span>DataTransferItem</span>? <span title="dom-DataTransferItemList-add">add</span>(DOMString data, DOMString type);<!--
@@ -85317,6 +85317,8 @@
 
    <dd>
 
+<!--CLEANUP-->
+
     <p>Adds a new entry for the given data to the <span>drag data
     store</span>. If the data is plain text <!-- DND-v4: or an object -->
     then a <var title="">type</var> string has to be provided
@@ -85368,10 +85370,9 @@
   same <code>DataTransfer</code> object as the
   <code>DataTransferItemList</code> object when it is first created.</p>
 
-  <p>To <dfn title="dom-DataTransferItemList-removeItem">delete an
-  existing indexed property</dfn> <var title="">i</var> of a
-  <code>DataTransferItemList</code> object, the user agent must run these
-  steps:</p>
+<!--CLEANUP--><!--MOVE this down below add() -->
+  <p>The <dfn title="dom-DataTransferItemList-remove"><code>remove()</code></dfn> method, when
+  invoked with the argument <var title="">i</var>, must run these steps:</p>
 
   <ol>
 




More information about the Commit-Watchers mailing list