HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/4418

SVNBugCommentTime (UTC)
44188092[Tools] Change the IDL for HTMLCollection to support statically typed languages.2009-12-08 15:45
Index: source
===================================================================
--- source	(revision 4417)
+++ source	(revision 4418)
@@ -5220,8 +5220,8 @@
 
   <pre class="idl">interface <dfn>HTMLCollection</dfn> {
   readonly attribute unsigned long <span title="dom-HTMLCollection-length">length</span>;
-  caller getter Element <span title="dom-HTMLCollection-item">item</span>(in unsigned long index);
-  caller getter Element <span title="dom-HTMLCollection-namedItem">namedItem</span>(in DOMString name);<!--
+  caller getter object <span title="dom-HTMLCollection-item">item</span>(in unsigned long index); // only returns Element
+  caller getter object <span title="dom-HTMLCollection-namedItem">namedItem</span>(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

|