[html5] r5443 - [giow] (2) HTMLCollection.item can return Element in the IDL safely Fixing http: [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 7 23:32:58 PDT 2010


Author: ianh
Date: 2010-09-07 23:32:56 -0700 (Tue, 07 Sep 2010)
New Revision: 5443

Modified:
   complete.html
   index
   source
Log:
[giow] (2) HTMLCollection.item can return Element in the IDL safely
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10192

Modified: complete.html
===================================================================
--- complete.html	2010-09-08 06:29:48 UTC (rev 5442)
+++ complete.html	2010-09-08 06:32:56 UTC (rev 5443)
@@ -6740,7 +6740,7 @@
 
   <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>
 

Modified: index
===================================================================
--- index	2010-09-08 06:29:48 UTC (rev 5442)
+++ index	2010-09-08 06:32:56 UTC (rev 5443)
@@ -6717,7 +6717,7 @@
 
   <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>
 

Modified: source
===================================================================
--- source	2010-09-08 06:29:48 UTC (rev 5442)
+++ source	2010-09-08 06:32:56 UTC (rev 5443)
@@ -6407,7 +6407,7 @@
 
   <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>
 




More information about the Commit-Watchers mailing list