Index: third_party/WebKit/Source/core/html/HTMLAllCollection.idl |
diff --git a/third_party/WebKit/Source/core/html/HTMLAllCollection.idl b/third_party/WebKit/Source/core/html/HTMLAllCollection.idl |
index 01555a4cde61dcf15689efa10eb93f19425038b0..de9130e1f59883409279b81167c77182d6a5da25 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLAllCollection.idl |
+++ b/third_party/WebKit/Source/core/html/HTMLAllCollection.idl |
@@ -31,12 +31,12 @@ |
DependentLifetime, |
SetWrapperReferenceFrom=ownerNode, |
] interface HTMLAllCollection { |
- readonly attribute unsigned long length; |
- [ImplementedAs=item] getter Element (unsigned long index); |
+ [MeasureAs=DocumentAllCollection] readonly attribute unsigned long length; |
+ [ImplementedAs=item, MeasureAs=DocumentAllCollection] getter Element (unsigned long index); |
// FIXME: The custom item() implementation may return a NodeList, but the |
// spec has a (HTMLCollection or Element)? item(DOMString name) method. |
- [Custom] Element? item([Default=Undefined] optional unsigned long index); |
+ [Custom, MeasureAs=DocumentAllCollection] Element? item([Default=Undefined] optional unsigned long index); |
// FIXME: namedItem() should be a legacycaller. |
// FIXME: namedItem() should return an (HTMLCollection or Element)? union. |
- [ImplementedAs=namedGetter] getter (NodeList or Element)? namedItem(DOMString name); |
+ [ImplementedAs=namedGetter, MeasureAs=DocumentAllCollection] getter (NodeList or Element)? namedItem(DOMString name); |
}; |