- From: poot <cvsmail@w3.org>
- Date: Wed, 8 Sep 2010 15:40:24 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: HTMLCollection.item can return Element in the IDL safely (whatwg
r5443)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4341&r2=1.4342&f=h
http://html5.org/tools/web-apps-tracker?from=5442&to=5443
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4341
retrieving revision 1.4342
diff -u -d -r1.4341 -r1.4342
--- Overview.html 8 Sep 2010 06:29:58 -0000 1.4341
+++ Overview.html 8 Sep 2010 06:33:04 -0000 1.4342
@@ -5918,7 +5918,7 @@
</div><h5 id="htmlcollection-0"><span class="secno">2.7.2.1 </span>HTMLCollection</h5><p>The <code><a href="#htmlcollection">HTMLCollection</a></code> interface represents a generic
<a href="#collections" title="collections">collection</a> of elements.<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><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLCollection-length"><a href="#dom-htmlcollection-length">length</a></code></dt>
<dd>
Received on Wednesday, 8 September 2010 06:33:49 UTC