Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(614)

Unified Diff: Source/core/html/HTMLCollection.idl

Issue 990613002: Sync the HTMLCollection interfaces with the specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update order-dependent test expectations Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLAllCollection.idl ('k') | Source/core/html/HTMLFormControlsCollection.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCollection.idl
diff --git a/Source/core/html/HTMLCollection.idl b/Source/core/html/HTMLCollection.idl
index aa57a4757d397515773130208ab9200f218cfc70..85c2d5acb74e618a2c899948fed011e55cac5c1a 100644
--- a/Source/core/html/HTMLCollection.idl
+++ b/Source/core/html/HTMLCollection.idl
@@ -19,13 +19,15 @@
* Boston, MA 02110-1301, USA.
*/
+// https://dom.spec.whatwg.org/#interface-htmlcollection
+
[
DependentLifetime,
SetWrapperReferenceFrom=ownerNode,
WillBeGarbageCollected,
] interface HTMLCollection {
readonly attribute unsigned long length;
- getter Element item([Default=Undefined] optional unsigned long index);
- getter Element namedItem(DOMString name);
+ // FIXME: The index argument should not be optional.
+ getter Element? item([Default=Undefined] optional unsigned long index);
+ getter Element? namedItem(DOMString name);
};
-
« no previous file with comments | « Source/core/html/HTMLAllCollection.idl ('k') | Source/core/html/HTMLFormControlsCollection.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698