| 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, |
| 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 callback CustomElementConstructor = Element (); | 21 callback CustomElementConstructor = Element (); |
| 22 | 22 |
| 23 [ | 23 [ |
| 24 CustomToV8 | 24 SpecialWrapFor=HTMLDocument|SVGDocument |
| 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 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Defaul
t=Undefined] optional DOMString tagName); | 32 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=AccessForIsolated
Worlds, RaisesException] Element createElement([TreatNullAs=NullString,Default=U
ndefined] 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, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. | 36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. |
| 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, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); // Removed from DOM4. | 39 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); // Removed from DOM4. |
| 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 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node im
portedNode, | 44 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=AccessForIsolated
Worlds, RaisesException] Node importNode([Default=Undefined] optional Node impor
tedNode, |
| 45 optional boolean deep); | 45 optional boolean deep); |
| 46 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Defa
ult=Undefined] optional DOMString namespaceURI, | 46 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=AccessForIsolated
Worlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Default
=Undefined] optional DOMString namespaceURI, |
| 47 [TreatNullAs=NullString,Default=Undefined] optional
DOMString qualifiedName); | 47 [TreatNullAs=NullString,Default=Undefined] optional
DOMString qualifiedName); |
| 48 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN
S([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, | 48 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN
S([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, |
| 49
[TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
// Removed from DOM4. | 49
[TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
// Removed from DOM4. |
| 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, MeasureAs=DocumentInputEncoding] readonly a
ttribute DOMString inputEncoding; // Removed from DOM4. | 56 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentInputEncoding] readonly a
ttribute DOMString inputEncoding; // Removed from DOM4. |
| 57 | 57 |
| 58 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentXMLEncoding] readonly att
ribute DOMString xmlEncoding; // Removed from DOM4. | 58 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentXMLEncoding] readonly att
ribute DOMString xmlEncoding; // Removed from DOM4. |
| 59 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRaisesExcepti
on, MeasureAs=DocumentXMLVersion] attribute DOMString xmlVersion; // Removed fro
m DOM4. | 59 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRaisesExcepti
on, MeasureAs=DocumentXMLVersion] attribute DOMString xmlVersion; // Removed fro
m DOM4. |
| 60 [SetterRaisesException, MeasureAs=DocumentXMLStandalone] attribute boolean x
mlStandalone; // Removed from DOM4. | 60 [SetterRaisesException, MeasureAs=DocumentXMLStandalone] attribute boolean x
mlStandalone; // Removed from DOM4. |
| 61 | 61 |
| 62 [RaisesException, CustomElementCallbacks=Enable] Node adoptNod
e([Default=Undefined] optional Node source); | 62 [RaisesException, CustomElementCallbacks] Node adoptNode([Defa
ult=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(); |
| 73 | 73 |
| 74 // DOM Level 2 Traversal and Range (DocumentTraversal interface) | 74 // DOM Level 2 Traversal and Range (DocumentTraversal interface) |
| 75 // In DOM4, the fourth argument |expandEntityReferences| is removed. | 75 // In DOM4, the fourth argument |expandEntityReferences| is removed. |
| 76 // Historically, this argument was never implemented and has been ignored. | 76 // Historically, this argument was never implemented and has been ignored. |
| 77 // We still receive the argument to keep compatibility, but don't do anythin
g if it's specified. | 77 // We still receive the argument to keep compatibility, but don't do anythin
g if it's specified. |
| 78 [RaisesException] NodeIterator createNodeIterator(Node root, | 78 [RaisesException] NodeIterator createNodeIterator(Node root, |
| 79 optional unsigned long wha
tToShow, | 79 optional unsigned long wha
tToShow, |
| 80 optional NodeFilter filter
, | 80 optional NodeFilter filter
, |
| 81 optional boolean expandEnt
ityReferences); | 81 optional boolean expandEnt
ityReferences); |
| 82 [RaisesException] TreeWalker createTreeWalker(Node root, | 82 [RaisesException] TreeWalker createTreeWalker(Node root, |
| 83 optional unsigned long whatToS
how, | 83 optional unsigned long whatToS
how, |
| 84 optional NodeFilter filter, | 84 optional NodeFilter filter, |
| 85 optional boolean expandEntityR
eferences); | 85 optional boolean expandEntityR
eferences); |
| 86 | 86 |
| 87 // DOM Level 2 Abstract Views (DocumentView interface) | 87 // DOM Level 2 Abstract Views (DocumentView interface) |
| 88 | 88 |
| 89 readonly attribute Window defaultView; | 89 [ImplementedAs=domWindow] readonly attribute Window defaultView; |
| 90 | 90 |
| 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 [CustomElementCallbacks=Enable] | 101 [CustomElementCallbacks] |
| 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, CustomElementCallbacks=Enable] attribute D
OMString title; | 114 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin
g 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, CustomElementCallbacks=Enable] attribute HT
MLElement body; | 121 [SetterRaisesException, CustomElementCallbacks] attribute HTMLEleme
nt 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); |
| 132 | 132 |
| 133 [Custom, Replaceable, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds]
readonly attribute Location location; | 133 [PerWorldBindings, ActivityLogging=AccessForIsolatedWorlds, PutForwards=href
] readonly attribute Location location; |
| 134 | 134 |
| 135 // IE extensions | 135 // IE extensions |
| 136 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs
=NullString] attribute DOMString charset; | 136 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs
=NullString] attribute DOMString charset; |
| 137 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined] readonly at
tribute DOMString defaultCharset; | 137 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined] readonly at
tribute DOMString defaultCharset; |
| 138 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat
e; | 138 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat
e; |
| 139 | 139 |
| 140 Element elementFromPoint([Default=Undefined] optional long x, | 140 Element elementFromPoint([Default=Undefined] optional long x, |
| 141 [Default=Undefined] optional long y); | 141 [Default=Undefined] optional long y); |
| 142 Range caretRangeFromPoint([Default=Undefined] optional long x, | 142 Range caretRangeFromPoint([Default=Undefined] optional long x, |
| 143 [Default=Undefined] optional long y); | 143 [Default=Undefined] optional long y); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 158 | 158 |
| 159 readonly attribute DOMString compatMode; | 159 readonly attribute DOMString compatMode; |
| 160 | 160 |
| 161 // NodeSelector - Selector API | 161 // NodeSelector - Selector API |
| 162 [RaisesException] Element querySelector(DOMString selectors); | 162 [RaisesException] Element querySelector(DOMString selectors); |
| 163 [RaisesException] NodeList querySelectorAll(DOMString selectors); | 163 [RaisesException] NodeList querySelectorAll(DOMString selectors); |
| 164 | 164 |
| 165 void webkitExitPointerLock(); | 165 void webkitExitPointerLock(); |
| 166 readonly attribute Element webkitPointerLockElement; | 166 readonly attribute Element webkitPointerLockElement; |
| 167 | 167 |
| 168 [EnabledAtRuntime=CSSRegions] WebKitNamedFlowCollection webkitGetNamedFlows(
); | 168 [RuntimeEnabled=CSSRegions] WebKitNamedFlowCollection webkitGetNamedFlows(); |
| 169 | 169 |
| 170 [EnabledAtRuntime=FontLoadEvents] readonly attribute FontFaceSet fonts; | 170 // Event handler attributes |
| 171 attribute EventHandler onbeforecopy; |
| 172 attribute EventHandler onbeforecut; |
| 173 attribute EventHandler onbeforepaste; |
| 174 attribute EventHandler oncopy; |
| 175 attribute EventHandler oncut; |
| 176 attribute EventHandler onpaste; |
| 177 attribute EventHandler onreadystatechange; |
| 178 attribute EventHandler onsearch; |
| 179 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
| 180 attribute EventHandler onselectionchange; |
| 181 attribute EventHandler onselectstart; |
| 182 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
| 183 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
| 184 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
| 185 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
| 186 attribute EventHandler onwebkitfullscreenchange; |
| 187 attribute EventHandler onwebkitfullscreenerror; |
| 188 attribute EventHandler onwebkitpointerlockchange; |
| 189 attribute EventHandler onwebkitpointerlockerror; |
| 190 [ActivityLogging=SetterForAllWorlds] attribute EventHandler onwheel; |
| 171 | 191 |
| 172 // Event handler DOM attributes | 192 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window
window, |
| 173 [NotEnumerable] attribute EventHandler onabort; | |
| 174 [NotEnumerable] attribute EventHandler onblur; | |
| 175 [NotEnumerable] attribute EventHandler onchange; | |
| 176 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onclick; | |
| 177 [NotEnumerable] attribute EventHandler oncontextmenu; | |
| 178 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondblclick; | |
| 179 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondrag; | |
| 180 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragend; | |
| 181 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragenter; | |
| 182 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragleave; | |
| 183 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragover; | |
| 184 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondragstart; | |
| 185 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler ondrop; | |
| 186 [NotEnumerable] attribute EventHandler onerror; | |
| 187 [NotEnumerable] attribute EventHandler onfocus; | |
| 188 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler oninput; | |
| 189 [NotEnumerable] attribute EventHandler oninvalid; | |
| 190 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onkeydown; | |
| 191 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onkeypress; | |
| 192 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onkeyup; | |
| 193 [NotEnumerable] attribute EventHandler onload; | |
| 194 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmousedown; | |
| 195 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseenter; | |
| 196 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseleave; | |
| 197 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmousemove; | |
| 198 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseout; | |
| 199 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseover; | |
| 200 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmouseup; | |
| 201 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onmousewheel; // Deprecated in favor of onwheel. | |
| 202 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventHandler onwheel; | |
| 203 [NotEnumerable] attribute EventHandler onreadystatechange; | |
| 204 [NotEnumerable] attribute EventHandler onscroll; | |
| 205 [NotEnumerable] attribute EventHandler onselect; | |
| 206 [NotEnumerable] attribute EventHandler onsubmit; | |
| 207 | |
| 208 // attribute [NotEnumerable] EventHandler oncanplay; | |
| 209 // attribute [NotEnumerable] EventHandler oncanplaythrough; | |
| 210 // attribute [NotEnumerable] EventHandler ondurationchange; | |
| 211 // attribute [NotEnumerable] EventHandler onemptied; | |
| 212 // attribute [NotEnumerable] EventHandler onended; | |
| 213 // attribute [NotEnumerable] EventHandler onloadeddata; | |
| 214 // attribute [NotEnumerable] EventHandler onloadedmetadata; | |
| 215 // attribute [NotEnumerable] EventHandler onloadstart; | |
| 216 // attribute [NotEnumerable] EventHandler onpause; | |
| 217 // attribute [NotEnumerable] EventHandler onplay; | |
| 218 // attribute [NotEnumerable] EventHandler onplaying; | |
| 219 // attribute [NotEnumerable] EventHandler onprogress; | |
| 220 // attribute [NotEnumerable] EventHandler onratechange; | |
| 221 // attribute [NotEnumerable] EventHandler onseeked; | |
| 222 // attribute [NotEnumerable] EventHandler onseeking; | |
| 223 // attribute [NotEnumerable] EventHandler onshow; | |
| 224 // attribute [NotEnumerable] EventHandler onstalled; | |
| 225 // attribute [NotEnumerable] EventHandler onsuspend; | |
| 226 // attribute [NotEnumerable] EventHandler ontimeupdate; | |
| 227 // attribute [NotEnumerable] EventHandler onvolumechange; | |
| 228 // attribute [NotEnumerable] EventHandler onwaiting; | |
| 229 | |
| 230 // WebKit extensions | |
| 231 [NotEnumerable] attribute EventHandler onbeforecut; | |
| 232 [NotEnumerable] attribute EventHandler oncut; | |
| 233 [NotEnumerable] attribute EventHandler onbeforecopy; | |
| 234 [NotEnumerable] attribute EventHandler oncopy; | |
| 235 [NotEnumerable] attribute EventHandler onbeforepaste; | |
| 236 [NotEnumerable] attribute EventHandler onpaste; | |
| 237 [NotEnumerable] attribute EventHandler onreset; | |
| 238 [NotEnumerable] attribute EventHandler onsearch; | |
| 239 [NotEnumerable] attribute EventHandler onselectstart; | |
| 240 [NotEnumerable] attribute EventHandler onselectionchange; | |
| 241 [NotEnumerable, EnabledAtRuntime=Touch] attribute EventHandler ontouchstart; | |
| 242 [NotEnumerable, EnabledAtRuntime=Touch] attribute EventHandler ontouchmove; | |
| 243 [NotEnumerable, EnabledAtRuntime=Touch] attribute EventHandler ontouchend; | |
| 244 [NotEnumerable, EnabledAtRuntime=Touch] attribute EventHandler ontouchcancel
; | |
| 245 [NotEnumerable] attribute EventHandler onwebkitfullscreenchange; | |
| 246 [NotEnumerable] attribute EventHandler onwebkitfullscreenerror; | |
| 247 [NotEnumerable] attribute EventHandler onwebkitpointerlockchange; | |
| 248 [NotEnumerable] attribute EventHandler onwebkitpointerlockerror; | |
| 249 [NotEnumerable, EnabledAtRuntime=ExperimentalContentSecurityPolicyFeatures]
attribute EventHandler onsecuritypolicyviolation; | |
| 250 | |
| 251 [EnabledAtRuntime=Touch] Touch createTouch([Default=Undefined] optional Wind
ow window, | |
| 252 [Default=Undefined] optional Even
tTarget target, | 193 [Default=Undefined] optional Even
tTarget target, |
| 253 [Default=Undefined] optional long
identifier, | 194 [Default=Undefined] optional long
identifier, |
| 254 [Default=Undefined] optional long
pageX, | 195 [Default=Undefined] optional long
pageX, |
| 255 [Default=Undefined] optional long
pageY, | 196 [Default=Undefined] optional long
pageY, |
| 256 [Default=Undefined] optional long
screenX, | 197 [Default=Undefined] optional long
screenX, |
| 257 [Default=Undefined] optional long
screenY, | 198 [Default=Undefined] optional long
screenY, |
| 258 [Default=Undefined] optional long
webkitRadiusX, | 199 [Default=Undefined] optional long
webkitRadiusX, |
| 259 [Default=Undefined] optional long
webkitRadiusY, | 200 [Default=Undefined] optional long
webkitRadiusY, |
| 260 [Default=Undefined] optional floa
t webkitRotationAngle, | 201 [Default=Undefined] optional floa
t webkitRotationAngle, |
| 261 [Default=Undefined] optional floa
t webkitForce); | 202 [Default=Undefined] optional floa
t webkitForce); |
| 262 [EnabledAtRuntime=Touch] TouchList createTouchList(Touch... touches); | 203 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); |
| 263 | 204 |
| 264 [DeprecateAs=PrefixedDocumentRegister, EnabledAtRuntime=CustomElements, Impl
ementedAs=registerElement, CallWith=ScriptState, CustomElementCallbacks=Enable,
RaisesException] CustomElementConstructor webkitRegister(DOMString name, optiona
l Dictionary options); | 205 [DeprecateAs=PrefixedDocumentRegister, RuntimeEnabled=CustomElements, Implem
entedAs=registerElement, CallWith=ScriptState, CustomElementCallbacks, RaisesExc
eption] CustomElementConstructor webkitRegister(DOMString name, optional Diction
ary options); |
| 265 [EnabledAtRuntime=CustomElements, ImplementedAs=registerElement, CallWith=Sc
riptState, CustomElementCallbacks=Enable, RaisesException] CustomElementConstruc
tor register(DOMString name, optional Dictionary options); | 206 [RuntimeEnabled=CustomElements, ImplementedAs=registerElement, CallWith=Scri
ptState, CustomElementCallbacks, RaisesException] CustomElementConstructor regis
ter(DOMString name, optional Dictionary options); |
| 266 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElement(DOMString localName, [TreatNul
lAs=NullString] DOMString typeExtension); | 207 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=AccessForIsolated
Worlds, RaisesException] Element createElement(DOMString localName, [TreatNullAs
=NullString] DOMString typeExtension); |
| 267 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOM
String namespaceURI, DOMString qualifiedName, | 208 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=AccessForIsolated
Worlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOMStr
ing namespaceURI, DOMString qualifiedName, |
| 268 [TreatNullAs=NullString] DOMString typeExtension); | 209 [TreatNullAs=NullString] DOMString typeExtension); |
| 269 | 210 |
| 270 // Page visibility API. | 211 // Page visibility API. |
| 271 readonly attribute DOMString webkitVisibilityState; | 212 readonly attribute DOMString webkitVisibilityState; |
| 272 readonly attribute boolean webkitHidden; | 213 readonly attribute boolean webkitHidden; |
| 273 | 214 |
| 274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi
le/tip/csp-specification.dev.html#script-interfaces | 215 // 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; | 216 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut
e SecurityPolicy securityPolicy; |
| 276 | 217 |
| 277 readonly attribute HTMLScriptElement currentScript; | 218 readonly attribute HTMLScriptElement currentScript; |
| 278 }; | 219 }; |
| 279 | 220 |
| 221 Document implements GlobalEventHandlers; |
| 280 Document implements ParentNode; | 222 Document implements ParentNode; |
| 281 | |
| OLD | NEW |