mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Make document.getElementsByTagname return a NodeList; consolidate element collection to collectElement; fix #1744
This commit is contained in:
parent
478c9bfc57
commit
8b425fb8cf
4 changed files with 34 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue