hixie: Change the IDL for HTMLCollection to support statically typed languages. (whatwg r4418)

hixie: Change the IDL for HTMLCollection to support statically typed
languages. (whatwg r4418)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3530&r2=1.3531&f=h
http://html5.org/tools/web-apps-tracker?from=4417&to=4418

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3530
retrieving revision 1.3531
diff -u -d -r1.3530 -r1.3531
--- Overview.html 8 Dec 2009 15:42:36 -0000 1.3530
+++ Overview.html 8 Dec 2009 15:46:00 -0000 1.3531
@@ -5028,8 +5028,8 @@
   </div><h5 id="htmlcollection-0"><span class="secno">2.7.2.1 </span>HTMLCollection</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><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 Element <a href="#dom-htmlcollection-item" title="dom-HTMLCollection-item">item</a>(in unsigned long index);
-  caller getter Element <a href="#dom-htmlcollection-nameditem" title="dom-HTMLCollection-namedItem">namedItem</a>(in DOMString name);<!--
+  caller getter object <a href="#dom-htmlcollection-item" title="dom-HTMLCollection-item">item</a>(in unsigned long index); // only returns Element
+  caller getter object <a href="#dom-htmlcollection-nameditem" title="dom-HTMLCollection-namedItem">namedItem</a>(in DOMString name); // only returns Element<!--
   (removed on the assuption that browsers will remove support:)
    https://bugs.webkit.org/show_bug.cgi?id=30695
    https://bugs.opera.com/browse/CORE-25171

Received on Tuesday, 8 December 2009 15:46:48 UTC