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, |
(...skipping 18 matching lines...) Expand all Loading... |
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=Enable] void setAttribute([Default=
Undefined] optional DOMString name, |
31 [Default=Undefined] optional DOMString valu
e); | 31 [Default=Undefined] optional DOMString valu
e); |
32 [CustomElementCallbacks=Enable] void removeAttribute([Default=Undefined] opt
ional DOMString 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. | 33 [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. | 34 [RaisesException, CustomElementCallbacks=Enable, MeasureAs=ElementSetAttribu
teNode] Attr setAttributeNode([Default=Undefined, StrictTypeChecking] optional A
ttr newAttr); // Removed from DOM4. |
35 [RaisesException, CustomElementCallbacks=Enable, MeasureAs=ElementRemoveAttr
ibuteNode] Attr removeAttributeNode([Default=Undefined, StrictTypeChecking] opti
onal Attr oldAttr); // Removed from DOM4. | 35 [RaisesException, CustomElementCallbacks=Enable, MeasureAs=ElementRemoveAttr
ibuteNode] Attr removeAttributeNode([Default=Undefined, StrictTypeChecking] opti
onal Attr oldAttr); // Removed from DOM4. |
36 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefined] optiona
l DOMString name); | 36 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefined] optiona
l DOMString name); |
37 | 37 |
38 [PerWorldBindings] readonly attribute NamedNodeMap attributes; | 38 [PerWorldBindings] readonly attribute NamedNodeMap attributes; |
39 boolean hasAttributes(); | 39 [MeasureAs=HasAttributes] boolean hasAttributes(); |
40 | 40 |
41 // DOM Level 2 Core | 41 // DOM Level 2 Core |
42 | 42 |
43 DOMString getAttributeNS([TreatNullAs=NullString,Default=Undefined] optiona
l DOMString namespaceURI, | 43 DOMString getAttributeNS([TreatNullAs=NullString,Default=Undefined] optiona
l DOMString namespaceURI, |
44 [Default=Undefined] optional DOMStri
ng localName); | 44 [Default=Undefined] optional DOMStri
ng localName); |
45 [RaisesException, CustomElementCallbacks=Enable] void setAttributeNS([Treat
NullAs=NullString,Default=Undefined] optional DOMString namespaceURI, | 45 [RaisesException, CustomElementCallbacks=Enable] void setAttributeNS([Treat
NullAs=NullString,Default=Undefined] optional DOMString namespaceURI, |
46 [Default=Undefined] optional DOMString qu
alifiedName, | 46 [Default=Undefined] optional DOMString qu
alifiedName, |
47 [Default=Undefined] optional DOMString va
lue); | 47 [Default=Undefined] optional DOMString va
lue); |
48 [CustomElementCallbacks=Enable] void removeAttributeNS([TreatNullAs=NullStr
ing] DOMString namespaceURI, | 48 [CustomElementCallbacks=Enable] void removeAttributeNS([TreatNullAs=NullStr
ing] DOMString namespaceURI, |
49 DOMString localName); | 49 DOMString localName); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 [Reflect=pseudo, ImplementedAs=pseudo, PerWorldBindings, MeasureAs=ShadowDOM
PrefixedPseudo] attribute DOMString webkitPseudo; | 117 [Reflect=pseudo, ImplementedAs=pseudo, PerWorldBindings, MeasureAs=ShadowDOM
PrefixedPseudo] 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] void webkitRequestFullScreen([Default=Undefine
d] optional unsigned short flags); | 127 [EnabledAtRuntime=Fullscreen, PerWorldBindings, ActivityLog=Access] void web
kitRequestFullScreen([Default=Undefined] optional unsigned short flags); |
128 | 128 |
129 // W3C version | 129 // W3C version |
130 [EnabledAtRuntime=fullscreen] void webkitRequestFullscreen(); | 130 [EnabledAtRuntime=Fullscreen, PerWorldBindings, ActivityLog=Access] void web
kitRequestFullscreen(); |
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 [EnabledAtRuntime=CSSRegions, PerWorldBindings] readonly attribute DOMString
webkitRegionOverset; |
136 [EnabledAtRuntime=cssRegions] sequence<Range> webkitGetRegionFlowRanges(); | 136 [EnabledAtRuntime=CSSRegions] sequence<Range> webkitGetRegionFlowRanges(); |
137 | 137 |
138 // Event handler DOM attributes | 138 // Event handler DOM attributes |
139 [NotEnumerable, PerWorldBindings] attribute EventHandler onabort; | 139 [NotEnumerable, PerWorldBindings] attribute EventHandler onabort; |
140 [NotEnumerable, PerWorldBindings] attribute EventHandler onblur; | 140 [NotEnumerable, PerWorldBindings] attribute EventHandler onblur; |
141 [NotEnumerable, PerWorldBindings] attribute EventHandler onchange; | 141 [NotEnumerable, PerWorldBindings] attribute EventHandler onchange; |
142 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onclick; | 142 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onclick; |
143 [NotEnumerable, PerWorldBindings] attribute EventHandler oncontextmenu; | 143 [NotEnumerable, PerWorldBindings] attribute EventHandler oncontextmenu; |
144 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondblclick; | 144 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondblclick; |
145 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondrag; | 145 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondrag; |
146 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragend; | 146 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragend; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 // WebKit extensions | 196 // WebKit extensions |
197 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforecut; | 197 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforecut; |
198 [NotEnumerable, PerWorldBindings] attribute EventHandler oncut; | 198 [NotEnumerable, PerWorldBindings] attribute EventHandler oncut; |
199 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforecopy; | 199 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforecopy; |
200 [NotEnumerable, PerWorldBindings] attribute EventHandler oncopy; | 200 [NotEnumerable, PerWorldBindings] attribute EventHandler oncopy; |
201 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforepaste; | 201 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforepaste; |
202 [NotEnumerable, PerWorldBindings] attribute EventHandler onpaste; | 202 [NotEnumerable, PerWorldBindings] attribute EventHandler onpaste; |
203 [NotEnumerable, PerWorldBindings] attribute EventHandler onreset; | 203 [NotEnumerable, PerWorldBindings] attribute EventHandler onreset; |
204 [NotEnumerable, PerWorldBindings] attribute EventHandler onsearch; | 204 [NotEnumerable, PerWorldBindings] attribute EventHandler onsearch; |
205 [NotEnumerable, PerWorldBindings] attribute EventHandler onselectstart; | 205 [NotEnumerable, PerWorldBindings] attribute EventHandler onselectstart; |
206 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchstart; | 206 [NotEnumerable, EnabledAtRuntime=Touch, PerWorldBindings] attribute EventHan
dler ontouchstart; |
207 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchmove; | 207 [NotEnumerable, EnabledAtRuntime=Touch, PerWorldBindings] attribute EventHan
dler ontouchmove; |
208 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchend; | 208 [NotEnumerable, EnabledAtRuntime=Touch, PerWorldBindings] attribute EventHan
dler ontouchend; |
209 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchcancel; | 209 [NotEnumerable, EnabledAtRuntime=Touch, PerWorldBindings] attribute EventHan
dler ontouchcancel; |
210 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreenc
hange; | 210 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreenc
hange; |
211 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreene
rror; | 211 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreene
rror; |
212 }; | 212 }; |
213 | 213 |
214 Element implements ParentNode; | 214 Element implements ParentNode; |
215 Element implements ChildNode; | 215 Element implements ChildNode; |
OLD | NEW |