Skip to content

Commit

Permalink
[giow] (0) Change indexed deleter to a method.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20570
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7857 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 27, 2013
1 parent 5ba9bbd commit 5b3cc9b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 17 deletions.
13 changes: 7 additions & 6 deletions complete.html
Expand Up @@ -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 &mdash; Last Updated 26 April 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; 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>
Expand Down Expand Up @@ -75935,7 +75935,7 @@ <h5 id=the-datatransferitemlist-interface><span class=secno>8.7.3.1 </span>The <
<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);<!--
Expand Down Expand Up @@ -75982,6 +75982,8 @@ <h5 id=the-datatransferitemlist-interface><span class=secno>8.7.3.1 </span>The <

<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
Expand Down Expand Up @@ -76029,10 +76031,9 @@ <h5 id=the-datatransferitemlist-interface><span class=secno>8.7.3.1 </span>The <
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
Expand Down
13 changes: 7 additions & 6 deletions index
Expand Up @@ -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 &mdash; Last Updated 26 April 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; 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>
Expand Down Expand Up @@ -75935,7 +75935,7 @@ addShortcutKeyLabel(document.getElementById('c'));</pre>
<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);<!--
Expand Down Expand Up @@ -75982,6 +75982,8 @@ DND-v5: <span>DataTransferItem</span>? <span title="dom-DataTransferItemList-ad

<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
Expand Down Expand Up @@ -76029,10 +76031,9 @@ DND-v5: <span>DataTransferItem</span>? <span title="dom-DataTransferItemList-ad
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
Expand Down
11 changes: 6 additions & 5 deletions source
Expand Up @@ -85268,7 +85268,7 @@ addShortcutKeyLabel(document.getElementById('c'));</pre>
<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);<!--
Expand Down Expand Up @@ -85317,6 +85317,8 @@ DND-v5: <span>DataTransferItem</span>? <span title="dom-DataTransferItemList-ad

<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
Expand Down Expand Up @@ -85368,10 +85370,9 @@ DND-v5: <span>DataTransferItem</span>? <span title="dom-DataTransferItemList-ad
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>

Expand Down

0 comments on commit 5b3cc9b

Please sign in to comment.