[html5] r4418 - [t] (0) Change the IDL for HTMLCollection to support statically typed languages. [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Dec 8 07:45:55 PST 2009
Author: ianh
Date: 2009-12-08 07:45:50 -0800 (Tue, 08 Dec 2009)
New Revision: 4418
Modified:
complete.html
index
source
Log:
[t] (0) Change the IDL for HTMLCollection to support statically typed languages.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8092
Modified: complete.html
===================================================================
--- complete.html 2009-12-08 15:42:25 UTC (rev 4417)
+++ complete.html 2009-12-08 15:45:50 UTC (rev 4418)
@@ -5663,8 +5663,8 @@
<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
Modified: index
===================================================================
--- index 2009-12-08 15:42:25 UTC (rev 4417)
+++ index 2009-12-08 15:45:50 UTC (rev 4418)
@@ -5500,8 +5500,8 @@
<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
Modified: source
===================================================================
--- source 2009-12-08 15:42:25 UTC (rev 4417)
+++ source 2009-12-08 15:45:50 UTC (rev 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
More information about the Commit-Watchers
mailing list