Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (2) HTMLCollection.item can return Element in the IDL safely
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10192

git-svn-id: http://svn.whatwg.org/webapps@5443 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 8, 2010
1 parent da11f92 commit 1d21d07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion complete.html
Expand Up @@ -6740,7 +6740,7 @@ <h5 id=htmlcollection-0><span class=secno>2.7.2.1 </span>HTMLCollection</h5>

<pre class=idl>interface <dfn id=htmlcollection>HTMLCollection</dfn> {
readonly attribute unsigned long <a href=#dom-htmlcollection-length title=dom-HTMLCollection-length>length</a>;
caller getter object <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>(in unsigned long index); // only returns Element
caller getter <a href=#element>Element</a> <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>(in unsigned long index);
caller getter object <a href=#dom-htmlcollection-nameditem title=dom-HTMLCollection-namedItem>namedItem</a>(in DOMString name); // only returns Element
};</pre>

Expand Down
2 changes: 1 addition & 1 deletion index
Expand Up @@ -6717,7 +6717,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<pre class=idl>interface <dfn id=htmlcollection>HTMLCollection</dfn> {
readonly attribute unsigned long <a href=#dom-htmlcollection-length title=dom-HTMLCollection-length>length</a>;
caller getter object <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>(in unsigned long index); // only returns Element
caller getter <a href=#element>Element</a> <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>(in unsigned long index);
caller getter object <a href=#dom-htmlcollection-nameditem title=dom-HTMLCollection-namedItem>namedItem</a>(in DOMString name); // only returns Element
};</pre>

Expand Down
2 changes: 1 addition & 1 deletion source
Expand Up @@ -6407,7 +6407,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<pre class="idl">interface <dfn>HTMLCollection</dfn> {
readonly attribute unsigned long <span title="dom-HTMLCollection-length">length</span>;
caller getter object <span title="dom-HTMLCollection-item">item</span>(in unsigned long index); // only returns Element
caller getter <span>Element</span> <span title="dom-HTMLCollection-item">item</span>(in unsigned long index);
caller getter object <span title="dom-HTMLCollection-namedItem">namedItem</span>(in DOMString name); // only returns Element
};</pre>

Expand Down

0 comments on commit 1d21d07

Please sign in to comment.