summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLCollection.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLCollection.idl')
-rw-r--r--Source/WebCore/html/HTMLCollection.idl13
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/WebCore/html/HTMLCollection.idl b/Source/WebCore/html/HTMLCollection.idl
index 62cb050ae..6dfae8bd8 100644
--- a/Source/WebCore/html/HTMLCollection.idl
+++ b/Source/WebCore/html/HTMLCollection.idl
@@ -20,15 +20,12 @@
[
CustomToJSObject,
+ ExportToWrappedFunction,
GenerateIsReachable=ImplOwnerNodeRoot,
- ObjCPolymorphic,
+ LegacyUnenumerableNamedProperties,
+ ReportExtraMemoryCost,
] interface HTMLCollection {
readonly attribute unsigned long length;
- getter Node item([Default=Undefined] optional unsigned long index);
- getter Node namedItem([Default=Undefined] optional DOMString name);
-
-#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
- NodeList tags([Default=Undefined] optional DOMString name);
-#endif
+ getter Element? item(unsigned long index);
+ getter Element? namedItem(DOMString name);
};
-