| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 boolean webkitMatchesSelector(in [Optional=DefaultIsUndefined] DOMString
selectors) | 113 boolean webkitMatchesSelector(in [Optional=DefaultIsUndefined] DOMString
selectors) |
| 114 raises(DOMException); | 114 raises(DOMException); |
| 115 | 115 |
| 116 // ElementTraversal API | 116 // ElementTraversal API |
| 117 readonly attribute Element firstElementChild; | 117 readonly attribute Element firstElementChild; |
| 118 readonly attribute Element lastElementChild; | 118 readonly attribute Element lastElementChild; |
| 119 readonly attribute Element previousElementSibling; | 119 readonly attribute Element previousElementSibling; |
| 120 readonly attribute Element nextElementSibling; | 120 readonly attribute Element nextElementSibling; |
| 121 readonly attribute unsigned long childElementCount; | 121 readonly attribute unsigned long childElementCount; |
| 122 | 122 |
| 123 // DOM 4 |
| 124 void remove() |
| 125 raises(DOMException); |
| 126 |
| 123 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT | 127 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT |
| 124 // CSSOM View Module API | 128 // CSSOM View Module API |
| 125 ClientRectList getClientRects(); | 129 ClientRectList getClientRects(); |
| 126 ClientRect getBoundingClientRect(); | 130 ClientRect getBoundingClientRect(); |
| 127 #endif | 131 #endif |
| 128 | 132 |
| 129 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C | 133 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C |
| 130 // Objective-C extensions | 134 // Objective-C extensions |
| 131 readonly attribute DOMString innerText; | 135 readonly attribute DOMString innerText; |
| 132 #endif | 136 #endif |
| 133 | 137 |
| 134 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API | 138 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API |
| 135 // Mozilla version | 139 // Mozilla version |
| 136 const unsigned short ALLOW_KEYBOARD_INPUT = 1; | 140 const unsigned short ALLOW_KEYBOARD_INPUT = 1; |
| 137 [V8EnabledAtRuntime] void webkitRequestFullScreen(in [Optional=DefaultIs
Undefined] unsigned short flags); | 141 [V8EnabledAtRuntime] void webkitRequestFullScreen(in [Optional=DefaultIs
Undefined] unsigned short flags); |
| 138 | 142 |
| 139 // W3C version | 143 // W3C version |
| 140 [V8EnabledAtRuntime] void webkitRequestFullscreen(); | 144 [V8EnabledAtRuntime] void webkitRequestFullscreen(); |
| 141 #endif | 145 #endif |
| 142 | 146 |
| 143 [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] void webkitRe
questPointerLock(); | 147 [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] void webkitRe
questPointerLock(); |
| 144 | 148 |
| 145 // CSS Regions API | 149 // CSS Regions API |
| 146 readonly attribute DOMString webkitRegionOverset; | 150 readonly attribute [Conditional=CSS_REGIONS] DOMString webkitRegionOvers
et; |
| 151 [Conditional=CSS_REGIONS] sequence<Range> webkitGetRegionFlowRanges(); |
| 147 | 152 |
| 148 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C | 153 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C |
| 149 // Event handler DOM attributes | 154 // Event handler DOM attributes |
| 150 attribute [NotEnumerable] EventListener onabort; | 155 attribute [NotEnumerable] EventListener onabort; |
| 151 attribute [NotEnumerable] EventListener onblur; | 156 attribute [NotEnumerable] EventListener onblur; |
| 152 attribute [NotEnumerable] EventListener onchange; | 157 attribute [NotEnumerable] EventListener onchange; |
| 153 attribute [NotEnumerable] EventListener onclick; | 158 attribute [NotEnumerable] EventListener onclick; |
| 154 attribute [NotEnumerable] EventListener oncontextmenu; | 159 attribute [NotEnumerable] EventListener oncontextmenu; |
| 155 attribute [NotEnumerable] EventListener ondblclick; | 160 attribute [NotEnumerable] EventListener ondblclick; |
| 156 attribute [NotEnumerable] EventListener ondrag; | 161 attribute [NotEnumerable] EventListener ondrag; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchstart; | 219 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchstart; |
| 215 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchmove; | 220 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchmove; |
| 216 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchend; | 221 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchend; |
| 217 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchcancel; | 222 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchcancel; |
| 218 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwe
bkitfullscreenchange; | 223 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwe
bkitfullscreenchange; |
| 219 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwe
bkitfullscreenerror; | 224 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwe
bkitfullscreenerror; |
| 220 #endif | 225 #endif |
| 221 }; | 226 }; |
| 222 | 227 |
| 223 } | 228 } |
| OLD | NEW |