nsgenbind
Loading...
Searching...
No Matches
htmldocument.idl
Go to the documentation of this file.
1[OverrideBuiltins]
2partial interface Document {
3 // resource metadata management
4 [PutForwards=href] readonly attribute Location? location;
5 attribute DOMString domain;
6 readonly attribute DOMString referrer;
7 attribute DOMString cookie;
8 readonly attribute DOMString lastModified;
9 readonly attribute DOMString readyState;
10
11 // DOM tree accessors
12 getter object (DOMString name);
13 attribute DOMString title;
14 attribute DOMString dir;
15 attribute HTMLElement? body;
16 readonly attribute HTMLHeadElement? head;
17 readonly attribute HTMLCollection images;
18 readonly attribute HTMLCollection embeds;
19 readonly attribute HTMLCollection plugins;
20 readonly attribute HTMLCollection links;
21 readonly attribute HTMLCollection forms;
22 readonly attribute HTMLCollection scripts;
23 NodeList getElementsByName(DOMString elementName);
24 NodeList getItems(optional DOMString typeNames); // microdata
25 readonly attribute DOMElementMap cssElementMap;
26
27 // dynamic markup insertion
28 Document open(optional DOMString type, optional DOMString replace);
29 WindowProxy open(DOMString url, DOMString name, DOMString features, optional boolean replace);
30 void close();
31 void write(DOMString... text);
32 void writeln(DOMString... text);
33
34 // user interaction
35 readonly attribute WindowProxy? defaultView;
36 readonly attribute Element? activeElement;
37 boolean hasFocus();
38 attribute DOMString designMode;
39 boolean execCommand(DOMString commandId);
40 boolean execCommand(DOMString commandId, boolean showUI);
41 boolean execCommand(DOMString commandId, boolean showUI, DOMString value);
42 boolean queryCommandEnabled(DOMString commandId);
43 boolean queryCommandIndeterm(DOMString commandId);
44 boolean queryCommandState(DOMString commandId);
45 boolean queryCommandSupported(DOMString commandId);
46 DOMString queryCommandValue(DOMString commandId);
47 readonly attribute HTMLCollection commands;
48
49 // event handler IDL attributes
105
106 // special event handler IDL attributes that only apply to Document objects
107 [LenientThis] attribute EventHandler onreadystatechange;
108};
DOMString url
Definition html.idl:2013
OnErrorEventHandlerNonNull OnErrorEventHandler
Definition html.idl:1573
EventHandlerNonNull EventHandler
Definition html.idl:1569
attribute EventHandler onprogress
attribute EventHandler onkeypress
attribute EventHandler onmousemove
readonly attribute DOMString referrer
Definition html.idl:74
attribute DOMString title
Definition html.idl:81
attribute EventHandler onratechange
attribute EventHandler onscroll
attribute EventHandler onload
attribute EventHandler oncanplaythrough
attribute EventHandler ondragend
readonly attribute HTMLCollection embeds
Definition html.idl:86
boolean queryCommandSupported(DOMString commandId)
attribute EventHandler onloadeddata
attribute EventHandler ondrag
attribute EventHandler onseeked
attribute EventHandler onstalled
attribute EventHandler onclick
boolean queryCommandEnabled(DOMString commandId)
DOMString queryCommandValue(DOMString commandId)
attribute EventHandler onselect
boolean queryCommandState(DOMString commandId)
attribute DOMString designMode
Definition html.idl:107
boolean queryCommandIndeterm(DOMString commandId)
attribute EventHandler onemptied
Document open(optional DOMString type, optional DOMString replace)
attribute EventHandler onloadedmetadata
readonly attribute HTMLCollection forms
Definition html.idl:89
NodeList getItems(optional DOMString typeNames)
readonly attribute DOMString readyState
attribute EventHandler ondragenter
attribute EventHandler onpause
attribute EventHandler ondragover
attribute EventHandler ontimeupdate
attribute EventHandler onmousewheel
boolean hasFocus()
attribute OnErrorEventHandler onerror
attribute EventHandler oninput
attribute EventHandler onfocus
attribute EventHandler oncuechange
readonly attribute HTMLCollection scripts
Definition html.idl:90
boolean execCommand(DOMString commandId, boolean showUI)
attribute EventHandler onchange
readonly attribute HTMLCollection commands
Definition html.idl:114
attribute EventHandler oninvalid
attribute DOMString domain
Definition html.idl:73
NodeList getElementsByName(DOMString elementName)
attribute EventHandler oncontextmenu
void write(DOMString... text)
attribute EventHandler onkeyup
readonly attribute HTMLCollection links
Definition html.idl:88
attribute EventHandler ondblclick
readonly attribute DOMElementMap cssElementMap
Definition html.idl:93
attribute EventHandler onreset
attribute EventHandler onsuspend
attribute EventHandler ondragstart
readonly attribute WindowProxy defaultView
Definition html.idl:104
attribute EventHandler onmouseout
attribute EventHandler onended
readonly attribute HTMLHeadElement head
Definition html.idl:84
attribute EventHandler onwaiting
attribute EventHandler onmouseup
attribute EventHandler oncanplay
attribute EventHandler onloadstart
attribute EventHandler ondurationchange
attribute EventHandler onsubmit
attribute EventHandler ondrop
attribute EventHandler onmousedown
attribute EventHandler onreadystatechange
Definition html.idl:117
attribute DOMString dir
Definition html.idl:82
attribute EventHandler onshow
attribute EventHandler onclose
boolean execCommand(DOMString commandId, boolean showUI, DOMString value)
readonly attribute HTMLCollection images
Definition html.idl:85
readonly attribute DOMString lastModified
Definition html.idl:76
attribute EventHandler ondragleave
WindowProxy open(DOMString url, DOMString name, DOMString features, optional boolean replace)
attribute EventHandler onmouseover
attribute DOMString cookie
Definition html.idl:75
attribute EventHandler onblur
attribute EventHandler oncancel
attribute EventHandler onplay
readonly attribute HTMLCollection plugins
Definition html.idl:87
attribute HTMLElement body
Definition html.idl:83
getter object(DOMString name)
readonly attribute Element activeElement
Definition html.idl:105
attribute EventHandler onabort
void close()
attribute EventHandler onvolumechange
attribute EventHandler onseeking
attribute EventHandler onplaying
void writeln(DOMString... text)
attribute EventHandler onkeydown
readonly attribute Location location
Definition html.idl:72
boolean execCommand(DOMString commandId)