Make document.getElementsByTagname return a NodeList; consolidate element collection to collectElement; fix #1744

This commit is contained in:
Manish Goregaokar 2014-02-26 10:08:06 +05:30
parent 478c9bfc57
commit 8b425fb8cf
4 changed files with 34 additions and 6 deletions

View file

@ -44,7 +44,7 @@ partial interface Document {
attribute DOMString title;
attribute HTMLElement? body;
readonly attribute HTMLHeadElement? head;
/*NodeList*/ HTMLCollection getElementsByName(DOMString elementName);
NodeList getElementsByName(DOMString elementName);
readonly attribute HTMLCollection images;
readonly attribute HTMLCollection embeds;