mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Move HTMLDocument members to Document.
This commit is contained in:
parent
2c8107e811
commit
7190feb5e3
4 changed files with 48 additions and 52 deletions
|
@ -45,4 +45,13 @@ partial interface Document {
|
|||
attribute HTMLElement? body;
|
||||
readonly attribute HTMLHeadElement? head;
|
||||
/*NodeList*/ HTMLCollection getElementsByName(DOMString elementName);
|
||||
|
||||
readonly attribute HTMLCollection images;
|
||||
readonly attribute HTMLCollection embeds;
|
||||
readonly attribute HTMLCollection plugins;
|
||||
readonly attribute HTMLCollection links;
|
||||
readonly attribute HTMLCollection forms;
|
||||
readonly attribute HTMLCollection scripts;
|
||||
readonly attribute HTMLCollection anchors;
|
||||
readonly attribute HTMLCollection applets;
|
||||
};
|
||||
|
|
|
@ -5,13 +5,4 @@
|
|||
*/
|
||||
|
||||
/* http://www.whatwg.org/specs/web-apps/current-work/#the-document-object */
|
||||
interface HTMLDocument : Document {
|
||||
readonly attribute HTMLCollection images;
|
||||
readonly attribute HTMLCollection embeds;
|
||||
readonly attribute HTMLCollection plugins;
|
||||
readonly attribute HTMLCollection links;
|
||||
readonly attribute HTMLCollection forms;
|
||||
readonly attribute HTMLCollection scripts;
|
||||
readonly attribute HTMLCollection anchors;
|
||||
readonly attribute HTMLCollection applets;
|
||||
};
|
||||
interface HTMLDocument : Document {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue