OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> | 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> |
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, |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 [ | 23 [ |
24 CustomToV8 | 24 CustomToV8 |
25 ] interface Document : Node { | 25 ] interface Document : Node { |
26 | 26 |
27 // DOM Level 1 Core | 27 // DOM Level 1 Core |
28 readonly attribute DocumentType doctype; | 28 readonly attribute DocumentType doctype; |
29 readonly attribute DOMImplementation implementation; | 29 readonly attribute DOMImplementation implementation; |
30 readonly attribute Element documentElement; | 30 readonly attribute Element documentElement; |
31 | 31 |
32 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Defaul
t=Undefined] optional DOMString tagName); | 32 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Defaul
t=Undefined] optional DOMString tagName); |
33 DocumentFragment createDocumentFragment(); | 33 DocumentFragment createDocumentFragment(); |
34 [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMStrin
g data); | 34 [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMStrin
g data); |
35 Comment createComment([Default=Undefined] optional DOMString data); | 35 Comment createComment([Default=Undefined] optional DOMString data); |
36 [RaisesException] CDATASection createCDATASection([Default=Undefined] option
al DOMString data); | 36 [RaisesException] CDATASection createCDATASection([Default=Undefined] option
al DOMString data); |
37 [RaisesException] ProcessingInstruction createProcessingInstruction([Default
=Undefined] optional DOMString target, | 37 [RaisesException] ProcessingInstruction createProcessingInstruction([Default
=Undefined] optional DOMString target, |
38
[Default=Undefined] optional DOMString data); | 38
[Default=Undefined] optional DOMString data); |
39 [RaisesException] Attr createAttribute([Default=Undefined] optional DOMStrin
g name); | 39 [RaisesException] Attr createAttribute([Default=Undefined] optional DOMStrin
g name); |
40 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefine
d] optional DOMString tagname); | 40 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefine
d] optional DOMString tagname); |
41 | 41 |
42 // Introduced in DOM Level 2: | 42 // Introduced in DOM Level 2: |
43 | 43 |
44 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node im
portedNode, | 44 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node im
portedNode, |
45 optional boolean deep); | 45 optional boolean deep); |
46 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Defa
ult=Undefined] optional DOMString namespaceURI, | 46 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Defa
ult=Undefined] optional DOMString namespaceURI, |
47 [TreatNullAs=NullString,Default=Undefined] optional
DOMString qualifiedName); | 47 [TreatNullAs=NullString,Default=Undefined] optional
DOMString qualifiedName); |
48 [RaisesException] Attr createAttributeNS([TreatNullAs=NullString,Default=Und
efined] optional DOMString namespaceURI, | 48 [RaisesException] Attr createAttributeNS([TreatNullAs=NullString,Default=Und
efined] optional DOMString namespaceURI, |
49 [Treat
NullAs=NullString,Default=Undefined] optional DOMString qualifiedName); | 49 [Treat
NullAs=NullString,Default=Undefined] optional DOMString qualifiedName); |
50 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined]
optional DOMString namespaceURI, | 50 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined]
optional DOMString namespaceURI, |
51 [Default=Undefined] optional
DOMString localName); | 51 [Default=Undefined] optional
DOMString localName); |
52 [PerWorldBindings] Element getElementById([Default=Undefined] opt
ional DOMString elementId); | 52 [PerWorldBindings] Element getElementById([Default=Undefined] opt
ional DOMString elementId); |
53 | 53 |
54 // DOM Level 3 Core | 54 // DOM Level 3 Core |
55 | 55 |
56 [TreatReturnedNullStringAs=Null] readonly attribute DOMString inputEncoding; | 56 [TreatReturnedNullStringAs=Null] readonly attribute DOMString inputEncoding; |
57 | 57 |
58 [TreatReturnedNullStringAs=Null] readonly attribute DOMString xmlEncoding; | 58 [TreatReturnedNullStringAs=Null] readonly attribute DOMString xmlEncoding; |
59 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRais
esException] attribute DOMString xmlVersion; | 59 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRais
esException] attribute DOMString xmlVersion; |
60 [SetterRaisesException] attribute boolean xmlStandalone; | 60 [SetterRaisesException] attribute boolean xmlStandalone; |
61 | 61 |
62 [RaisesException] Node adoptNode([Default=Undefined] optional
Node source); | 62 [RaisesException, CustomElementCallbacks=Enable] Node adoptNod
e([Default=Undefined] optional Node source); |
63 | 63 |
64 [TreatReturnedNullStringAs=Null] readonly attribute DOMString documentURI; | 64 [TreatReturnedNullStringAs=Null] readonly attribute DOMString documentURI; |
65 | 65 |
66 // DOM Level 2 Events (DocumentEvents interface) | 66 // DOM Level 2 Events (DocumentEvents interface) |
67 | 67 |
68 [RaisesException] Event createEvent([Default=Undefined] optiona
l DOMString eventType); | 68 [RaisesException] Event createEvent([Default=Undefined] optiona
l DOMString eventType); |
69 | 69 |
70 // DOM Level 2 Traversal and Range (DocumentRange interface) | 70 // DOM Level 2 Traversal and Range (DocumentRange interface) |
71 | 71 |
72 Range createRange(); | 72 Range createRange(); |
(...skipping 18 matching lines...) Expand all Loading... |
91 // DOM Level 2 Style (DocumentStyle interface) | 91 // DOM Level 2 Style (DocumentStyle interface) |
92 | 92 |
93 readonly attribute StyleSheetList styleSheets; | 93 readonly attribute StyleSheetList styleSheets; |
94 | 94 |
95 // DOM Level 2 Style (DocumentCSS interface) | 95 // DOM Level 2 Style (DocumentCSS interface) |
96 | 96 |
97 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element e
lement, | 97 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element e
lement, |
98 [Default=Undefined] opti
onal DOMString pseudoElement); | 98 [Default=Undefined] opti
onal DOMString pseudoElement); |
99 | 99 |
100 // Common extensions | 100 // Common extensions |
101 [DeliverCustomElementCallbacks] | 101 [CustomElementCallbacks=Enable] |
102 boolean execCommand([Default=Undefined] optional DOMString comman
d, | 102 boolean execCommand([Default=Undefined] optional DOMString comman
d, |
103 [Default=Undefined] optional boolean userInte
rface, | 103 [Default=Undefined] optional boolean userInte
rface, |
104 [TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] optional DOMString value); | 104 [TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] optional DOMString value); |
105 | 105 |
106 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin
g command); | 106 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin
g command); |
107 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri
ng command); | 107 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri
ng command); |
108 boolean queryCommandState([Default=Undefined] optional DOMString
command); | 108 boolean queryCommandState([Default=Undefined] optional DOMString
command); |
109 boolean queryCommandSupported([Default=Undefined] optional DOMStr
ing command); | 109 boolean queryCommandSupported([Default=Undefined] optional DOMStr
ing command); |
110 DOMString queryCommandValue([Default=Undefined] optional DOMString
command); | 110 DOMString queryCommandValue([Default=Undefined] optional DOMString
command); |
111 | 111 |
112 // Moved down from HTMLDocument | 112 // Moved down from HTMLDocument |
113 | 113 |
114 [TreatNullAs=NullString] attribute DOMString title; | 114 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute D
OMString title; |
115 readonly attribute DOMString referrer; | 115 readonly attribute DOMString referrer; |
116 [TreatNullAs=NullString, SetterRaisesException] attribute DOMString
domain; | 116 [TreatNullAs=NullString, SetterRaisesException] attribute DOMString
domain; |
117 readonly attribute DOMString URL; | 117 readonly attribute DOMString URL; |
118 | 118 |
119 [TreatNullAs=NullString, GetterRaisesException, SetterRaisesExcepti
on] attribute DOMString cookie; | 119 [TreatNullAs=NullString, GetterRaisesException, SetterRaisesExcepti
on] attribute DOMString cookie; |
120 | 120 |
121 [SetterRaisesException] attribute HTMLElement body; | 121 [SetterRaisesException, CustomElementCallbacks=Enable] attribute HT
MLElement body; |
122 | 122 |
123 readonly attribute HTMLHeadElement head; | 123 readonly attribute HTMLHeadElement head; |
124 readonly attribute HTMLCollection images; | 124 readonly attribute HTMLCollection images; |
125 readonly attribute HTMLCollection applets; | 125 readonly attribute HTMLCollection applets; |
126 readonly attribute HTMLCollection links; | 126 readonly attribute HTMLCollection links; |
127 readonly attribute HTMLCollection forms; | 127 readonly attribute HTMLCollection forms; |
128 readonly attribute HTMLCollection anchors; | 128 readonly attribute HTMLCollection anchors; |
129 readonly attribute DOMString lastModified; | 129 readonly attribute DOMString lastModified; |
130 | 130 |
131 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D
OMString elementName); | 131 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D
OMString elementName); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 [RaisesException] NodeList querySelectorAll(DOMString selectors); | 164 [RaisesException] NodeList querySelectorAll(DOMString selectors); |
165 | 165 |
166 void webkitExitPointerLock(); | 166 void webkitExitPointerLock(); |
167 readonly attribute Element webkitPointerLockElement; | 167 readonly attribute Element webkitPointerLockElement; |
168 | 168 |
169 [EnabledAtRuntime=cssRegions] WebKitNamedFlowCollection webkitGetNamedFlows(
); | 169 [EnabledAtRuntime=cssRegions] WebKitNamedFlowCollection webkitGetNamedFlows(
); |
170 | 170 |
171 [EnabledAtRuntime=fontLoadEvents] readonly attribute FontLoader fontloader; | 171 [EnabledAtRuntime=fontLoadEvents] readonly attribute FontLoader fontloader; |
172 | 172 |
173 // Event handler DOM attributes | 173 // Event handler DOM attributes |
174 [NotEnumerable] attribute EventListener onabort; | 174 [NotEnumerable] attribute EventHandler onabort; |
175 [NotEnumerable] attribute EventListener onblur; | 175 [NotEnumerable] attribute EventHandler onblur; |
176 [NotEnumerable] attribute EventListener onchange; | 176 [NotEnumerable] attribute EventHandler onchange; |
177 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onclick; | 177 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onclick; |
178 [NotEnumerable] attribute EventListener oncontextmenu; | 178 [NotEnumerable] attribute EventHandler oncontextmenu; |
179 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondblclick; | 179 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondblclick; |
180 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondrag; | 180 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondrag; |
181 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondragend; | 181 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragend; |
182 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondragenter; | 182 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragenter; |
183 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondragleave; | 183 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragleave; |
184 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondragover; | 184 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragover; |
185 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondragstart; | 185 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragstart; |
186 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondrop; | 186 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondrop; |
187 [NotEnumerable] attribute EventListener onerror; | 187 [NotEnumerable] attribute EventHandler onerror; |
188 [NotEnumerable] attribute EventListener onfocus; | 188 [NotEnumerable] attribute EventHandler onfocus; |
189 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener oninput; | 189 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler oninput; |
190 [NotEnumerable] attribute EventListener oninvalid; | 190 [NotEnumerable] attribute EventHandler oninvalid; |
191 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onkeydown; | 191 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onkeydown; |
192 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onkeypress; | 192 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onkeypress; |
193 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onkeyup; | 193 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onkeyup; |
194 [NotEnumerable] attribute EventListener onload; | 194 [NotEnumerable] attribute EventHandler onload; |
195 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmousedown; | 195 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmousedown; |
196 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmouseenter; | 196 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseenter; |
197 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmouseleave; | 197 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseleave; |
198 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmousemove; | 198 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmousemove; |
199 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmouseout; | 199 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseout; |
200 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmouseover; | 200 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseover; |
201 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmouseup; | 201 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseup; |
202 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmousewheel; | 202 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmousewheel; |
203 [NotEnumerable] attribute EventListener onreadystatechange; | 203 [NotEnumerable] attribute EventHandler onreadystatechange; |
204 [NotEnumerable] attribute EventListener onscroll; | 204 [NotEnumerable] attribute EventHandler onscroll; |
205 [NotEnumerable] attribute EventListener onselect; | 205 [NotEnumerable] attribute EventHandler onselect; |
206 [NotEnumerable] attribute EventListener onsubmit; | 206 [NotEnumerable] attribute EventHandler onsubmit; |
207 | 207 |
208 // attribute [NotEnumerable] EventListener oncanplay; | 208 // attribute [NotEnumerable] EventHandler oncanplay; |
209 // attribute [NotEnumerable] EventListener oncanplaythrough; | 209 // attribute [NotEnumerable] EventHandler oncanplaythrough; |
210 // attribute [NotEnumerable] EventListener ondurationchange; | 210 // attribute [NotEnumerable] EventHandler ondurationchange; |
211 // attribute [NotEnumerable] EventListener onemptied; | 211 // attribute [NotEnumerable] EventHandler onemptied; |
212 // attribute [NotEnumerable] EventListener onended; | 212 // attribute [NotEnumerable] EventHandler onended; |
213 // attribute [NotEnumerable] EventListener onloadeddata; | 213 // attribute [NotEnumerable] EventHandler onloadeddata; |
214 // attribute [NotEnumerable] EventListener onloadedmetadata; | 214 // attribute [NotEnumerable] EventHandler onloadedmetadata; |
215 // attribute [NotEnumerable] EventListener onloadstart; | 215 // attribute [NotEnumerable] EventHandler onloadstart; |
216 // attribute [NotEnumerable] EventListener onpause; | 216 // attribute [NotEnumerable] EventHandler onpause; |
217 // attribute [NotEnumerable] EventListener onplay; | 217 // attribute [NotEnumerable] EventHandler onplay; |
218 // attribute [NotEnumerable] EventListener onplaying; | 218 // attribute [NotEnumerable] EventHandler onplaying; |
219 // attribute [NotEnumerable] EventListener onprogress; | 219 // attribute [NotEnumerable] EventHandler onprogress; |
220 // attribute [NotEnumerable] EventListener onratechange; | 220 // attribute [NotEnumerable] EventHandler onratechange; |
221 // attribute [NotEnumerable] EventListener onseeked; | 221 // attribute [NotEnumerable] EventHandler onseeked; |
222 // attribute [NotEnumerable] EventListener onseeking; | 222 // attribute [NotEnumerable] EventHandler onseeking; |
223 // attribute [NotEnumerable] EventListener onshow; | 223 // attribute [NotEnumerable] EventHandler onshow; |
224 // attribute [NotEnumerable] EventListener onstalled; | 224 // attribute [NotEnumerable] EventHandler onstalled; |
225 // attribute [NotEnumerable] EventListener onsuspend; | 225 // attribute [NotEnumerable] EventHandler onsuspend; |
226 // attribute [NotEnumerable] EventListener ontimeupdate; | 226 // attribute [NotEnumerable] EventHandler ontimeupdate; |
227 // attribute [NotEnumerable] EventListener onvolumechange; | 227 // attribute [NotEnumerable] EventHandler onvolumechange; |
228 // attribute [NotEnumerable] EventListener onwaiting; | 228 // attribute [NotEnumerable] EventHandler onwaiting; |
229 | 229 |
230 // WebKit extensions | 230 // WebKit extensions |
231 [NotEnumerable] attribute EventListener onbeforecut; | 231 [NotEnumerable] attribute EventHandler onbeforecut; |
232 [NotEnumerable] attribute EventListener oncut; | 232 [NotEnumerable] attribute EventHandler oncut; |
233 [NotEnumerable] attribute EventListener onbeforecopy; | 233 [NotEnumerable] attribute EventHandler onbeforecopy; |
234 [NotEnumerable] attribute EventListener oncopy; | 234 [NotEnumerable] attribute EventHandler oncopy; |
235 [NotEnumerable] attribute EventListener onbeforepaste; | 235 [NotEnumerable] attribute EventHandler onbeforepaste; |
236 [NotEnumerable] attribute EventListener onpaste; | 236 [NotEnumerable] attribute EventHandler onpaste; |
237 [NotEnumerable] attribute EventListener onreset; | 237 [NotEnumerable] attribute EventHandler onreset; |
238 [NotEnumerable] attribute EventListener onsearch; | 238 [NotEnumerable] attribute EventHandler onsearch; |
239 [NotEnumerable] attribute EventListener onselectstart; | 239 [NotEnumerable] attribute EventHandler onselectstart; |
240 [NotEnumerable] attribute EventListener onselectionchange; | 240 [NotEnumerable] attribute EventHandler onselectionchange; |
241 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchstart; | 241 [NotEnumerable,EnabledAtRuntime=touch] attribute EventHandler ontouchstart; |
242 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchmove; | 242 [NotEnumerable,EnabledAtRuntime=touch] attribute EventHandler ontouchmove; |
243 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchend; | 243 [NotEnumerable,EnabledAtRuntime=touch] attribute EventHandler ontouchend; |
244 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchcancel
; | 244 [NotEnumerable,EnabledAtRuntime=touch] attribute EventHandler ontouchcancel; |
245 [NotEnumerable] attribute EventListener onwebkitfullscreenchange; | 245 [NotEnumerable] attribute EventHandler onwebkitfullscreenchange; |
246 [NotEnumerable] attribute EventListener onwebkitfullscreenerror; | 246 [NotEnumerable] attribute EventHandler onwebkitfullscreenerror; |
247 [NotEnumerable] attribute EventListener onwebkitpointerlockchange; | 247 [NotEnumerable] attribute EventHandler onwebkitpointerlockchange; |
248 [NotEnumerable] attribute EventListener onwebkitpointerlockerror; | 248 [NotEnumerable] attribute EventHandler onwebkitpointerlockerror; |
249 [NotEnumerable, EnabledAtRuntime=experimentalContentSecurityPolicyFeatures]
attribute EventListener onsecuritypolicyviolation; | 249 [NotEnumerable, EnabledAtRuntime=experimentalContentSecurityPolicyFeatures]
attribute EventHandler onsecuritypolicyviolation; |
250 | 250 |
251 [EnabledAtRuntime=touch] Touch createTouch([Default=Undefined] optional Wind
ow window, | 251 [EnabledAtRuntime=touch] Touch createTouch([Default=Undefined] optional Wind
ow window, |
252 [Default=Undefined] optional Even
tTarget target, | 252 [Default=Undefined] optional Even
tTarget target, |
253 [Default=Undefined] optional long
identifier, | 253 [Default=Undefined] optional long
identifier, |
254 [Default=Undefined] optional long
pageX, | 254 [Default=Undefined] optional long
pageX, |
255 [Default=Undefined] optional long
pageY, | 255 [Default=Undefined] optional long
pageY, |
256 [Default=Undefined] optional long
screenX, | 256 [Default=Undefined] optional long
screenX, |
257 [Default=Undefined] optional long
screenY, | 257 [Default=Undefined] optional long
screenY, |
258 [Default=Undefined] optional long
webkitRadiusX, | 258 [Default=Undefined] optional long
webkitRadiusX, |
259 [Default=Undefined] optional long
webkitRadiusY, | 259 [Default=Undefined] optional long
webkitRadiusY, |
260 [Default=Undefined] optional floa
t webkitRotationAngle, | 260 [Default=Undefined] optional floa
t webkitRotationAngle, |
261 [Default=Undefined] optional floa
t webkitForce); | 261 [Default=Undefined] optional floa
t webkitForce); |
262 [EnabledAtRuntime=touch, Custom, RaisesException] TouchList createTouchList(
); | 262 [EnabledAtRuntime=touch, Custom, RaisesException] TouchList createTouchList(
); |
263 | 263 |
264 [DeprecateAs=PrefixedDocumentRegister, EnabledAtRuntime=customDOMElements, I
mplementedAs=registerElement, CallWith=ScriptState, DeliverCustomElementCallback
s, RaisesException] CustomElementConstructor webkitRegister(DOMString name, opti
onal Dictionary options); | 264 [DeprecateAs=PrefixedDocumentRegister, EnabledAtRuntime=customDOMElements, I
mplementedAs=registerElement, CallWith=ScriptState, CustomElementCallbacks=Enabl
e, RaisesException] CustomElementConstructor webkitRegister(DOMString name, opti
onal Dictionary options); |
265 [EnabledAtRuntime=customDOMElements, ImplementedAs=registerElement, CallWith
=ScriptState, DeliverCustomElementCallbacks, RaisesException] CustomElementConst
ructor register(DOMString name, optional Dictionary options); | 265 [EnabledAtRuntime=customDOMElements, ImplementedAs=registerElement, CallWith
=ScriptState, CustomElementCallbacks=Enable, RaisesException] CustomElementConst
ructor register(DOMString name, optional Dictionary options); |
266 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElement(DOMString localName, [TreatNul
lAs=NullString] DOMString typeExtension); | 266 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElement(DOMString localName, [TreatNul
lAs=NullString] DOMString typeExtension); |
267 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOM
String namespaceURI, DOMString qualifiedName, | 267 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOM
String namespaceURI, DOMString qualifiedName, |
268 [TreatNullAs=NullString] DOMString typeExtension); | 268 [TreatNullAs=NullString] DOMString typeExtension); |
269 | 269 |
270 // Page visibility API. | 270 // Page visibility API. |
271 readonly attribute DOMString webkitVisibilityState; | 271 readonly attribute DOMString webkitVisibilityState; |
272 readonly attribute boolean webkitHidden; | 272 readonly attribute boolean webkitHidden; |
273 | 273 |
274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi
le/tip/csp-specification.dev.html#script-interfaces | 274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi
le/tip/csp-specification.dev.html#script-interfaces |
275 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib
ute SecurityPolicy securityPolicy; | 275 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib
ute SecurityPolicy securityPolicy; |
276 | 276 |
277 readonly attribute HTMLScriptElement currentScript; | 277 readonly attribute HTMLScriptElement currentScript; |
278 }; | 278 }; |
279 | 279 |
280 Document implements ParentNode; | 280 Document implements ParentNode; |
281 | 281 |
OLD | NEW |