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

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

Issue 148013008: Use stricter typing for HTMLCollection named getter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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.cpp ('k') | Source/core/html/HTMLCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAllCollection.idl
diff --git a/Source/core/html/HTMLAllCollection.idl b/Source/core/html/HTMLAllCollection.idl
index 861296ce50e37263fe876e561594a4a3e6d7003e..6a135f26a9804486f6874b920c2875456ea87fc3 100644
--- a/Source/core/html/HTMLAllCollection.idl
+++ b/Source/core/html/HTMLAllCollection.idl
@@ -31,8 +31,8 @@
readonly attribute unsigned long length;
[ImplementedAs=item] getter Node (unsigned long index);
[Custom] Node item([Default=Undefined] optional unsigned long index);
- [NotEnumerable] getter (NodeList or Node) (DOMString name);
- [Custom] Node namedItem(DOMString name);
+ [NotEnumerable] getter (NodeList or Element) (DOMString name);
+ [Custom] Element namedItem(DOMString name);
// FIXME: This should return an HTMLAllCollection.
[MeasureAs=DocumentAllTags] NodeList tags(DOMString name);
};
« no previous file with comments | « Source/core/html/HTMLAllCollection.cpp ('k') | Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698