OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 | 20 |
21 [ | 21 [ |
22 CustomToV8 | 22 SpecialWrapFor=HTMLElement|SVGElement |
23 ] interface Element : Node { | 23 ] interface Element : Node { |
24 | 24 |
25 // DOM Level 1 Core | 25 // DOM Level 1 Core |
26 | 26 |
27 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing tagName; | 27 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing tagName; |
28 | 28 |
29 [TreatReturnedNullStringAs=Null] DOMString getAttribute([Default=Undefined]
optional DOMString name); | 29 [TreatReturnedNullStringAs=Null] DOMString getAttribute([Default=Undefined]
optional DOMString name); |
30 [RaisesException, CustomElementCallbacks=Enable] void setAttribute([Default=
Undefined] optional DOMString name, | 30 [RaisesException, CustomElementCallbacks] void setAttribute([Default=Undefin
ed] optional DOMString name, [Default=Undefined] optional DOMString value); |
31 [Default=Undefined] optional DOMString valu
e); | 31 [CustomElementCallbacks] void removeAttribute([Default=Undefined] optional D
OMString name); |
32 [CustomElementCallbacks=Enable] void removeAttribute([Default=Undefined] opt
ional DOMString name); | |
33 [MeasureAs=ElementGetAttributeNode] Attr getAttributeNode([Default=Undefined
] optional DOMString name); // Removed from DOM4. | 32 [MeasureAs=ElementGetAttributeNode] Attr getAttributeNode([Default=Undefined
] optional DOMString name); // Removed from DOM4. |
34 [RaisesException, CustomElementCallbacks=Enable, MeasureAs=ElementSetAttribu
teNode] Attr setAttributeNode([Default=Undefined, StrictTypeChecking] optional A
ttr newAttr); // Removed from DOM4. | 33 [RaisesException, CustomElementCallbacks, MeasureAs=ElementSetAttributeNode]
Attr setAttributeNode([Default=Undefined, StrictTypeChecking] optional Attr new
Attr); // Removed from DOM4. |
35 [RaisesException, CustomElementCallbacks=Enable, MeasureAs=ElementRemoveAttr
ibuteNode] Attr removeAttributeNode([Default=Undefined, StrictTypeChecking] opti
onal Attr oldAttr); // Removed from DOM4. | 34 [RaisesException, CustomElementCallbacks, MeasureAs=ElementRemoveAttributeNo
de] Attr removeAttributeNode([Default=Undefined, StrictTypeChecking] optional At
tr oldAttr); // Removed from DOM4. |
36 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefined] optiona
l DOMString name); | 35 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefined] optiona
l DOMString name); |
37 | 36 |
38 [PerWorldBindings] readonly attribute NamedNodeMap attributes; | 37 [PerWorldBindings] readonly attribute NamedNodeMap attributes; |
39 [MeasureAs=HasAttributes] boolean hasAttributes(); | 38 [MeasureAs=HasAttributes] boolean hasAttributes(); |
40 | 39 |
41 // DOM Level 2 Core | 40 // DOM Level 2 Core |
42 | 41 |
43 DOMString getAttributeNS([TreatNullAs=NullString,Default=Undefined] optiona
l DOMString namespaceURI, | 42 DOMString getAttributeNS([TreatNullAs=NullString,Default=Undefined] optional
DOMString namespaceURI, |
44 [Default=Undefined] optional DOMStri
ng localName); | 43 [Default=Undefined] optional DOMString localName); |
45 [RaisesException, CustomElementCallbacks=Enable] void setAttributeNS([Treat
NullAs=NullString,Default=Undefined] optional DOMString namespaceURI, | 44 [RaisesException, CustomElementCallbacks] void setAttributeNS([TreatNullAs=N
ullString,Default=Undefined] optional DOMString namespaceURI, |
46 [Default=Undefined] optional DOMString qu
alifiedName, | 45 [Default=Undef
ined] optional DOMString qualifiedName, |
47 [Default=Undefined] optional DOMString va
lue); | 46 [Default=Undef
ined] optional DOMString value); |
48 [CustomElementCallbacks=Enable] void removeAttributeNS([TreatNullAs=NullStr
ing] DOMString namespaceURI, | 47 [CustomElementCallbacks] void removeAttributeNS([TreatNullAs=NullString] DOM
String namespaceURI, DOMString localName); |
49 DOMString localName); | 48 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined] o
ptional DOMString namespaceURI, |
50 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined]
optional DOMString namespaceURI, | 49 [Default=Undefined] optional DOMString local
Name); |
51 [Default=Undefined] optional
DOMString localName); | 50 [MeasureAs=ElementGetAttributeNodeNS] Attr getAttributeNodeNS([TreatNullAs=N
ullString,Default=Undefined] optional DOMString namespaceURI, |
52 [MeasureAs=ElementGetAttributeNodeNS] Attr getAttributeNodeNS([TreatNullAs=
NullString,Default=Undefined] optional DOMString namespaceURI, | 51 [Default=Undef
ined] optional DOMString localName); // Removed from DOM4. |
53 [Default=Unde
fined] optional DOMString localName); // Removed from DOM4. | 52 [RaisesException, CustomElementCallbacks] Attr setAttributeNodeNS([Default=U
ndefined, StrictTypeChecking] optional Attr newAttr); |
54 [RaisesException, CustomElementCallbacks=Enable] Attr setAttributeNodeNS([De
fault=Undefined, StrictTypeChecking] optional Attr newAttr); | |
55 boolean hasAttribute(DOMString name); | 53 boolean hasAttribute(DOMString name); |
56 boolean hasAttributeNS([TreatNullAs=NullString,Default=Undefined] optional
DOMString namespaceURI, | 54 boolean hasAttributeNS([TreatNullAs=NullString,Default=Undefined] optional D
OMString namespaceURI, |
57 [Default=Undefined] optional DOMString
localName); | 55 [Default=Undefined] optional DOMString localName); |
58 | 56 |
59 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; | 57 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; |
60 | 58 |
61 // DOM4 | 59 // DOM4 |
62 // iht.com relies on id returning the empty string when no id is present. | 60 // iht.com relies on id returning the empty string when no id is present. |
63 // Other browsers do this as well. So we don't convert null to JS null. | 61 // Other browsers do this as well. So we don't convert null to JS null. |
64 [Reflect] attribute DOMString id; | 62 [Reflect, TreatNullAs=NullString] attribute DOMString id; |
65 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing namespaceURI; | 63 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing namespaceURI; |
66 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, S
etterRaisesException] attribute DOMString prefix; | 64 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, S
etterRaisesException] attribute DOMString prefix; |
67 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing localName; | 65 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing localName; |
68 | 66 |
69 // Common extensions | 67 // Common extensions |
70 | 68 |
71 [PerWorldBindings] readonly attribute long offsetLeft; | 69 [PerWorldBindings] readonly attribute long offsetLeft; |
72 [PerWorldBindings] readonly attribute long offsetTop; | 70 [PerWorldBindings] readonly attribute long offsetTop; |
73 [PerWorldBindings] readonly attribute long offsetWidth; | 71 [PerWorldBindings] readonly attribute long offsetWidth; |
74 [PerWorldBindings] readonly attribute long offsetHeight; | 72 [PerWorldBindings] readonly attribute long offsetHeight; |
75 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El
ement offsetParent; | 73 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El
ement offsetParent; |
76 [PerWorldBindings] readonly attribute long clientLeft; | 74 [PerWorldBindings] readonly attribute long clientLeft; |
77 [PerWorldBindings] readonly attribute long clientTop; | 75 [PerWorldBindings] readonly attribute long clientTop; |
78 [PerWorldBindings] readonly attribute long clientWidth; | 76 [PerWorldBindings] readonly attribute long clientWidth; |
79 [PerWorldBindings] readonly attribute long clientHeight; | 77 [PerWorldBindings] readonly attribute long clientHeight; |
80 [PerWorldBindings] attribute long scrollLeft; | 78 [PerWorldBindings] attribute long scrollLeft; |
81 [PerWorldBindings] attribute long scrollTop; | 79 [PerWorldBindings] attribute long scrollTop; |
82 [PerWorldBindings] readonly attribute long scrollWidth; | 80 [PerWorldBindings] readonly attribute long scrollWidth; |
83 [PerWorldBindings] readonly attribute long scrollHeight; | 81 [PerWorldBindings] readonly attribute long scrollHeight; |
84 | 82 |
85 void focus(); | 83 void focus(); |
86 void blur(); | 84 void blur(); |
87 void scrollIntoView(optional boolean alignWithTop); | 85 void scrollIntoView(optional boolean alignWithTop); |
88 | 86 |
89 // WebKit extensions | 87 // WebKit extensions |
90 | 88 |
91 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded); | 89 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded); |
92 void scrollByLines([Default=Undefined] optional long lines); | 90 void scrollByLines([Default=Undefined] optional long lines); |
93 void scrollByPages([Default=Undefined] optional long pages); | 91 void scrollByPages([Default=Undefined] optional long pages); |
94 | 92 |
95 // HTML 5 | 93 // HTML 5 |
96 NodeList getElementsByClassName([Default=Undefined] optional DOMString name)
; | 94 NodeList getElementsByClassName([Default=Undefined] optional DOMString name)
; |
| 95 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL
ogging=SetterForIsolatedWorlds, SetterRaisesException] attribute DOMString inner
HTML; |
| 96 [TreatNullAs=NullString, CustomElementCallbacks, SetterRaisesException] attr
ibute DOMString outerHTML; |
97 | 97 |
98 [Reflect=class, PerWorldBindings] attribute DOMString className; | 98 [Reflect=class, TreatNullAs=NullString, PerWorldBindings] attribute DOMStrin
g className; |
99 [PerWorldBindings] readonly attribute DOMTokenList classList; | 99 [PerWorldBindings] readonly attribute DOMTokenList classList; |
100 | 100 |
101 [PerWorldBindings] readonly attribute DOMStringMap dataset; | 101 [PerWorldBindings] readonly attribute DOMStringMap dataset; |
102 | 102 |
103 // NodeSelector - Selector API | 103 // NodeSelector - Selector API |
104 [RaisesException] Element querySelector(DOMString selectors); | 104 [RaisesException] Element querySelector(DOMString selectors); |
105 [RaisesException] NodeList querySelectorAll(DOMString selectors); | 105 [RaisesException] NodeList querySelectorAll(DOMString selectors); |
106 | 106 |
107 // WebKit extension, pending specification. | 107 // WebKit extension, pending specification. |
108 [RaisesException] boolean webkitMatchesSelector([Default=Undefined] optional
DOMString selectors); | 108 [RaisesException] boolean webkitMatchesSelector([Default=Undefined] optional
DOMString selectors); |
109 | 109 |
110 // Shadow DOM API | 110 // Shadow DOM API |
111 [EnabledAtRuntime=ShadowDOM, Reflect, PerWorldBindings] attribute DOMString
pseudo; | 111 [RuntimeEnabled=ShadowDOM, Reflect, TreatNullAs=NullString, PerWorldBindings
] attribute DOMString pseudo; |
112 [EnabledAtRuntime=ShadowDOM, RaisesException] ShadowRoot createShadowRoot(); | 112 [RuntimeEnabled=ShadowDOM, RaisesException] ShadowRoot createShadowRoot(); |
113 [EnabledAtRuntime=ShadowDOM, PerWorldBindings] readonly attribute ShadowRoot
shadowRoot; | 113 [RuntimeEnabled=ShadowDOM, PerWorldBindings] readonly attribute ShadowRoot s
hadowRoot; |
114 [EnabledAtRuntime=ShadowDOM, PerWorldBindings] NodeList getDestinationInsert
ionPoints(); | 114 [RuntimeEnabled=ShadowDOM, PerWorldBindings] NodeList getDestinationInsertio
nPoints(); |
115 | 115 |
116 // To-be-deprecated prefixed Shadow DOM API | 116 // To-be-deprecated prefixed Shadow DOM API |
117 [Reflect=pseudo, ImplementedAs=pseudo, PerWorldBindings, MeasureAs=ShadowDOM
PrefixedPseudo] attribute DOMString webkitPseudo; | 117 [Reflect=pseudo, TreatNullAs=NullString, ImplementedAs=pseudo, PerWorldBindi
ngs, MeasureAs=ShadowDOMPrefixedPseudo] attribute DOMString webkitPseudo; |
118 [ImplementedAs=createShadowRoot, RaisesException, MeasureAs=ShadowDOMPrefixe
dCreateShadowRoot] ShadowRoot webkitCreateShadowRoot(); | 118 [ImplementedAs=createShadowRoot, RaisesException, MeasureAs=ShadowDOMPrefixe
dCreateShadowRoot] ShadowRoot webkitCreateShadowRoot(); |
119 [ImplementedAs=shadowRoot, PerWorldBindings, MeasureAs=ShadowDOMPrefixedShad
owRoot] readonly attribute ShadowRoot webkitShadowRoot; | 119 [ImplementedAs=shadowRoot, PerWorldBindings, MeasureAs=ShadowDOMPrefixedShad
owRoot] readonly attribute ShadowRoot webkitShadowRoot; |
120 | 120 |
121 // CSSOM View Module API | 121 // CSSOM View Module API |
122 ClientRectList getClientRects(); | 122 ClientRectList getClientRects(); |
123 ClientRect getBoundingClientRect(); | 123 ClientRect getBoundingClientRect(); |
124 | 124 |
125 // Mozilla version | 125 // Mozilla version |
126 const unsigned short ALLOW_KEYBOARD_INPUT = 1; | 126 const unsigned short ALLOW_KEYBOARD_INPUT = 1; |
127 [EnabledAtRuntime=Fullscreen, PerWorldBindings, ActivityLog=Access] void web
kitRequestFullScreen([Default=Undefined] optional unsigned short flags); | 127 [RuntimeEnabled=Fullscreen, PerWorldBindings, ActivityLogging=AccessForAllWo
rlds, MeasureAs=PrefixedElementRequestFullScreen] void webkitRequestFullScreen([
Default=Undefined] optional unsigned short flags); |
128 | 128 |
129 // W3C version | 129 // W3C version |
130 [EnabledAtRuntime=Fullscreen, PerWorldBindings, ActivityLog=Access] void web
kitRequestFullscreen(); | 130 [RuntimeEnabled=Fullscreen, PerWorldBindings, ActivityLogging=AccessForAllWo
rlds, MeasureAs=PrefixedElementRequestFullscreen] void webkitRequestFullscreen()
; |
131 | 131 |
132 void webkitRequestPointerLock(); | 132 void webkitRequestPointerLock(); |
133 | 133 |
134 // CSS Regions API | 134 // CSS Regions API |
135 [EnabledAtRuntime=CSSRegions, PerWorldBindings] readonly attribute DOMString
webkitRegionOverset; | 135 [RuntimeEnabled=CSSRegions, PerWorldBindings] readonly attribute DOMString w
ebkitRegionOverset; |
136 [EnabledAtRuntime=CSSRegions] sequence<Range> webkitGetRegionFlowRanges(); | 136 [RuntimeEnabled=CSSRegions] sequence<Range> webkitGetRegionFlowRanges(); |
137 | 137 |
138 // Event handler DOM attributes | 138 // Event handler attributes |
139 [NotEnumerable, PerWorldBindings] attribute EventHandler onabort; | 139 attribute EventHandler onbeforecopy; |
140 [NotEnumerable, PerWorldBindings] attribute EventHandler onblur; | 140 attribute EventHandler onbeforecut; |
141 [NotEnumerable, PerWorldBindings] attribute EventHandler onchange; | 141 attribute EventHandler onbeforepaste; |
142 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onclick; | 142 attribute EventHandler oncopy; |
143 [NotEnumerable, PerWorldBindings] attribute EventHandler oncontextmenu; | 143 attribute EventHandler oncut; |
144 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondblclick; | 144 attribute EventHandler onpaste; |
145 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondrag; | 145 attribute EventHandler onsearch; |
146 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragend; | 146 attribute EventHandler onselectstart; |
147 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragenter; | 147 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
148 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragleave; | 148 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
149 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragover; | 149 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
150 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragstart; | 150 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
151 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondrop; | 151 attribute EventHandler onwebkitfullscreenchange; |
152 [NotEnumerable, PerWorldBindings] attribute EventHandler onerror; | 152 attribute EventHandler onwebkitfullscreenerror; |
153 [NotEnumerable, PerWorldBindings] attribute EventHandler onfocus; | 153 [ActivityLogging=SetterForAllWorlds] attribute EventHandler onwheel; |
154 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler oninput; | |
155 [NotEnumerable, PerWorldBindings] attribute EventHandler oninvalid; | |
156 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onkeydown; | |
157 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onkeypress; | |
158 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onkeyup; | |
159 [NotEnumerable, PerWorldBindings] attribute EventHandler onload; | |
160 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmousedown; | |
161 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseenter; | |
162 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseleave; | |
163 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmousemove; | |
164 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseout; | |
165 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseover; | |
166 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseup; | |
167 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmousewheel; // Deprecated in favor of onwheel. | |
168 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onwheel; | |
169 [NotEnumerable, PerWorldBindings] attribute EventHandler onscroll; | |
170 [NotEnumerable, PerWorldBindings] attribute EventHandler onselect; | |
171 [NotEnumerable, PerWorldBindings] attribute EventHandler onsubmit; | |
172 | |
173 // attribute [NotEnumerable] EventHandler oncanplay; | |
174 // attribute [NotEnumerable] EventHandler oncanplaythrough; | |
175 // attribute [NotEnumerable] EventHandler ondurationchange; | |
176 // attribute [NotEnumerable] EventHandler onemptied; | |
177 // attribute [NotEnumerable] EventHandler onended; | |
178 // attribute [NotEnumerable] EventHandler onloadeddata; | |
179 // attribute [NotEnumerable] EventHandler onloadedmetadata; | |
180 // attribute [NotEnumerable] EventHandler onloadstart; | |
181 // attribute [NotEnumerable] EventHandler onpause; | |
182 // attribute [NotEnumerable] EventHandler onplay; | |
183 // attribute [NotEnumerable] EventHandler onplaying; | |
184 // attribute [NotEnumerable] EventHandler onprogress; | |
185 // attribute [NotEnumerable] EventHandler onratechange; | |
186 // attribute [NotEnumerable] EventHandler onreadystatechange; | |
187 // attribute [NotEnumerable] EventHandler onseeked; | |
188 // attribute [NotEnumerable] EventHandler onseeking; | |
189 // attribute [NotEnumerable] EventHandler onshow; | |
190 // attribute [NotEnumerable] EventHandler onstalled; | |
191 // attribute [NotEnumerable] EventHandler onsuspend; | |
192 // attribute [NotEnumerable] EventHandler ontimeupdate; | |
193 // attribute [NotEnumerable] EventHandler onvolumechange; | |
194 // attribute [NotEnumerable] EventHandler onwaiting; | |
195 | |
196 // WebKit extensions | |
197 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforecut; | |
198 [NotEnumerable, PerWorldBindings] attribute EventHandler oncut; | |
199 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforecopy; | |
200 [NotEnumerable, PerWorldBindings] attribute EventHandler oncopy; | |
201 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforepaste; | |
202 [NotEnumerable, PerWorldBindings] attribute EventHandler onpaste; | |
203 [NotEnumerable, PerWorldBindings] attribute EventHandler onreset; | |
204 [NotEnumerable, PerWorldBindings] attribute EventHandler onsearch; | |
205 [NotEnumerable, PerWorldBindings] attribute EventHandler onselectstart; | |
206 [NotEnumerable, EnabledAtRuntime=Touch, PerWorldBindings] attribute EventHan
dler ontouchstart; | |
207 [NotEnumerable, EnabledAtRuntime=Touch, PerWorldBindings] attribute EventHan
dler ontouchmove; | |
208 [NotEnumerable, EnabledAtRuntime=Touch, PerWorldBindings] attribute EventHan
dler ontouchend; | |
209 [NotEnumerable, EnabledAtRuntime=Touch, PerWorldBindings] attribute EventHan
dler ontouchcancel; | |
210 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreenc
hange; | |
211 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreene
rror; | |
212 }; | 154 }; |
213 | 155 |
214 Element implements ParentNode; | 156 Element implements ParentNode; |
215 Element implements ChildNode; | 157 Element implements ChildNode; |
OLD | NEW |