| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // DOM Level 3 XPath (XPathEvaluator interface) | |
| 101 [RaisesException] XPathExpression createExpression([Default=Undefined] opti
onal DOMString expression, | |
| 102 [Default=Undefined] optional
XPathNSResolver resolver); | |
| 103 XPathNSResolver createNSResolver(Node nodeResolver); | |
| 104 [Custom, RaisesException] XPathResult evaluate([Default=Undefined] optional
DOMString expression, | |
| 105 [Default=Undefined] optional N
ode contextNode, | |
| 106 [Default=Undefined] optional X
PathNSResolver resolver, | |
| 107 [Default=Undefined] optional u
nsigned short type, | |
| 108 [Default=Undefined] optional X
PathResult inResult); | |
| 109 | |
| 110 // Common extensions | 100 // Common extensions |
| 111 [DeliverCustomElementCallbacks] | 101 [DeliverCustomElementCallbacks] |
| 112 boolean execCommand([Default=Undefined] optional DOMString comman
d, | 102 boolean execCommand([Default=Undefined] optional DOMString comman
d, |
| 113 [Default=Undefined] optional boolean userInte
rface, | 103 [Default=Undefined] optional boolean userInte
rface, |
| 114 [TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] optional DOMString value); | 104 [TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] optional DOMString value); |
| 115 | 105 |
| 116 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin
g command); | 106 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin
g command); |
| 117 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri
ng command); | 107 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri
ng command); |
| 118 boolean queryCommandState([Default=Undefined] optional DOMString
command); | 108 boolean queryCommandState([Default=Undefined] optional DOMString
command); |
| 119 boolean queryCommandSupported([Default=Undefined] optional DOMStr
ing command); | 109 boolean queryCommandSupported([Default=Undefined] optional DOMStr
ing command); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 readonly attribute Element webkitPointerLockElement; | 167 readonly attribute Element webkitPointerLockElement; |
| 178 | 168 |
| 179 [EnabledAtRuntime=cssRegions] WebKitNamedFlowCollection webkitGetNamedFlows(
); | 169 [EnabledAtRuntime=cssRegions] WebKitNamedFlowCollection webkitGetNamedFlows(
); |
| 180 | 170 |
| 181 [EnabledAtRuntime=fontLoadEvents] readonly attribute FontLoader fontloader; | 171 [EnabledAtRuntime=fontLoadEvents] readonly attribute FontLoader fontloader; |
| 182 | 172 |
| 183 // Event handler DOM attributes | 173 // Event handler DOM attributes |
| 184 [NotEnumerable] attribute EventListener onabort; | 174 [NotEnumerable] attribute EventListener onabort; |
| 185 [NotEnumerable] attribute EventListener onblur; | 175 [NotEnumerable] attribute EventListener onblur; |
| 186 [NotEnumerable] attribute EventListener onchange; | 176 [NotEnumerable] attribute EventListener onchange; |
| 187 [NotEnumerable] attribute EventListener onclick; | 177 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onclick; |
| 188 [NotEnumerable] attribute EventListener oncontextmenu; | 178 [NotEnumerable] attribute EventListener oncontextmenu; |
| 189 [NotEnumerable] attribute EventListener ondblclick; | 179 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondblclick; |
| 190 [NotEnumerable] attribute EventListener ondrag; | 180 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondrag; |
| 191 [NotEnumerable] attribute EventListener ondragend; | 181 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondragend; |
| 192 [NotEnumerable] attribute EventListener ondragenter; | 182 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondragenter; |
| 193 [NotEnumerable] attribute EventListener ondragleave; | 183 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondragleave; |
| 194 [NotEnumerable] attribute EventListener ondragover; | 184 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondragover; |
| 195 [NotEnumerable] attribute EventListener ondragstart; | 185 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondragstart; |
| 196 [NotEnumerable] attribute EventListener ondrop; | 186 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener ondrop; |
| 197 [NotEnumerable] attribute EventListener onerror; | 187 [NotEnumerable] attribute EventListener onerror; |
| 198 [NotEnumerable] attribute EventListener onfocus; | 188 [NotEnumerable] attribute EventListener onfocus; |
| 199 [NotEnumerable] attribute EventListener oninput; | 189 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener oninput; |
| 200 [NotEnumerable] attribute EventListener oninvalid; | 190 [NotEnumerable] attribute EventListener oninvalid; |
| 201 [NotEnumerable] attribute EventListener onkeydown; | 191 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onkeydown; |
| 202 [NotEnumerable] attribute EventListener onkeypress; | 192 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onkeypress; |
| 203 [NotEnumerable] attribute EventListener onkeyup; | 193 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onkeyup; |
| 204 [NotEnumerable] attribute EventListener onload; | 194 [NotEnumerable] attribute EventListener onload; |
| 205 [NotEnumerable] attribute EventListener onmousedown; | 195 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmousedown; |
| 206 [NotEnumerable] attribute EventListener onmousemove; | 196 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmouseenter; |
| 207 [NotEnumerable] attribute EventListener onmouseout; | 197 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmouseleave; |
| 208 [NotEnumerable] attribute EventListener onmouseover; | 198 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmousemove; |
| 209 [NotEnumerable] attribute EventListener onmouseup; | 199 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmouseout; |
| 210 [NotEnumerable] attribute EventListener onmousewheel; | 200 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmouseover; |
| 201 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmouseup; |
| 202 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri
bute EventListener onmousewheel; |
| 211 [NotEnumerable] attribute EventListener onreadystatechange; | 203 [NotEnumerable] attribute EventListener onreadystatechange; |
| 212 [NotEnumerable] attribute EventListener onscroll; | 204 [NotEnumerable] attribute EventListener onscroll; |
| 213 [NotEnumerable] attribute EventListener onselect; | 205 [NotEnumerable] attribute EventListener onselect; |
| 214 [NotEnumerable] attribute EventListener onsubmit; | 206 [NotEnumerable] attribute EventListener onsubmit; |
| 215 | 207 |
| 216 // attribute [NotEnumerable] EventListener oncanplay; | 208 // attribute [NotEnumerable] EventListener oncanplay; |
| 217 // attribute [NotEnumerable] EventListener oncanplaythrough; | 209 // attribute [NotEnumerable] EventListener oncanplaythrough; |
| 218 // attribute [NotEnumerable] EventListener ondurationchange; | 210 // attribute [NotEnumerable] EventListener ondurationchange; |
| 219 // attribute [NotEnumerable] EventListener onemptied; | 211 // attribute [NotEnumerable] EventListener onemptied; |
| 220 // attribute [NotEnumerable] EventListener onended; | 212 // attribute [NotEnumerable] EventListener onended; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 readonly attribute boolean webkitHidden; | 272 readonly attribute boolean webkitHidden; |
| 281 | 273 |
| 282 // 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 |
| 283 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib
ute SecurityPolicy securityPolicy; | 275 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib
ute SecurityPolicy securityPolicy; |
| 284 | 276 |
| 285 readonly attribute HTMLScriptElement currentScript; | 277 readonly attribute HTMLScriptElement currentScript; |
| 286 }; | 278 }; |
| 287 | 279 |
| 288 Document implements ParentNode; | 280 Document implements ParentNode; |
| 289 | 281 |
| OLD | NEW |