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

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

Issue 137433008: Have HTMLCollection::item() return an Element as per specification (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 10 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 9193c7239e8cc3c4349cac991dbf60f6ff427127..fcc8d7890184eefaf0e22da1796ffe8832507a8e 100644
--- a/Source/core/html/HTMLAllCollection.idl
+++ b/Source/core/html/HTMLAllCollection.idl
@@ -29,8 +29,8 @@
SetWrapperReferenceFrom=ownerNode,
] interface HTMLAllCollection {
readonly attribute unsigned long length;
- [ImplementedAs=item] getter Node (unsigned long index);
- [Custom] Node item([Default=Undefined] optional unsigned long index);
+ [ImplementedAs=item] getter Element (unsigned long index);
+ [Custom] Element item([Default=Undefined] optional unsigned long index);
[NotEnumerable] getter (NodeList or Element) (DOMString name);
[Custom] Element namedItem(DOMString name);
// FIXME: This should return an HTMLAllCollection.
« 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