| 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, |
| 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 [ | 21 [ |
| 22 CustomToJSObject, | 22 CustomToV8, |
| 23 SkipVTableValidation | 23 SkipVTableValidation |
| 24 ] interface Element : Node { | 24 ] interface Element : Node { |
| 25 | 25 |
| 26 // DOM Level 1 Core | 26 // DOM Level 1 Core |
| 27 | 27 |
| 28 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing tagName; | 28 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing tagName; |
| 29 | 29 |
| 30 [TreatReturnedNullStringAs=Null] DOMString getAttribute([Default=Undefined]
optional DOMString name); | 30 [TreatReturnedNullStringAs=Null] DOMString getAttribute([Default=Undefined]
optional DOMString name); |
| 31 [RaisesException] void setAttribute([Default=Undefined] optional DOMString
name, | 31 [RaisesException] void setAttribute([Default=Undefined] optional DOMString
name, |
| 32 [Default=Undefined] optional DOMString valu
e); | 32 [Default=Undefined] optional DOMString valu
e); |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 // Mozilla version | 124 // Mozilla version |
| 125 const unsigned short ALLOW_KEYBOARD_INPUT = 1; | 125 const unsigned short ALLOW_KEYBOARD_INPUT = 1; |
| 126 [EnabledAtRuntime=fullscreen] void webkitRequestFullScreen([Default=Undefine
d] optional unsigned short flags); | 126 [EnabledAtRuntime=fullscreen] void webkitRequestFullScreen([Default=Undefine
d] optional unsigned short flags); |
| 127 | 127 |
| 128 // W3C version | 128 // W3C version |
| 129 [EnabledAtRuntime=fullscreen] void webkitRequestFullscreen(); | 129 [EnabledAtRuntime=fullscreen] void webkitRequestFullscreen(); |
| 130 | 130 |
| 131 void webkitRequestPointerLock(); | 131 void webkitRequestPointerLock(); |
| 132 | 132 |
| 133 // CSS Regions API | 133 // CSS Regions API |
| 134 [Conditional=CSS_REGIONS, EnabledAtRuntime=cssRegions, PerWorldBindings] rea
donly attribute DOMString webkitRegionOverset; | 134 [EnabledAtRuntime=cssRegions, PerWorldBindings] readonly attribute DOMString
webkitRegionOverset; |
| 135 [Conditional=CSS_REGIONS, EnabledAtRuntime=cssRegions] sequence<Range> webki
tGetRegionFlowRanges(); | 135 [EnabledAtRuntime=cssRegions] sequence<Range> webkitGetRegionFlowRanges(); |
| 136 | 136 |
| 137 // Event handler DOM attributes | 137 // Event handler DOM attributes |
| 138 [NotEnumerable, PerWorldBindings] attribute EventListener onabort; | 138 [NotEnumerable, PerWorldBindings] attribute EventListener onabort; |
| 139 [NotEnumerable, PerWorldBindings] attribute EventListener onblur; | 139 [NotEnumerable, PerWorldBindings] attribute EventListener onblur; |
| 140 [NotEnumerable, PerWorldBindings] attribute EventListener onchange; | 140 [NotEnumerable, PerWorldBindings] attribute EventListener onchange; |
| 141 [NotEnumerable, PerWorldBindings] attribute EventListener onclick; | 141 [NotEnumerable, PerWorldBindings] attribute EventListener onclick; |
| 142 [NotEnumerable, PerWorldBindings] attribute EventListener oncontextmenu; | 142 [NotEnumerable, PerWorldBindings] attribute EventListener oncontextmenu; |
| 143 [NotEnumerable, PerWorldBindings] attribute EventListener ondblclick; | 143 [NotEnumerable, PerWorldBindings] attribute EventListener ondblclick; |
| 144 [NotEnumerable, PerWorldBindings] attribute EventListener ondrag; | 144 [NotEnumerable, PerWorldBindings] attribute EventListener ondrag; |
| 145 [NotEnumerable, PerWorldBindings] attribute EventListener ondragend; | 145 [NotEnumerable, PerWorldBindings] attribute EventListener ondragend; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 [NotEnumerable, PerWorldBindings] attribute EventListener onsearch; | 200 [NotEnumerable, PerWorldBindings] attribute EventListener onsearch; |
| 201 [NotEnumerable, PerWorldBindings] attribute EventListener onselectstart; | 201 [NotEnumerable, PerWorldBindings] attribute EventListener onselectstart; |
| 202 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchstart; | 202 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchstart; |
| 203 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchmove; | 203 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchmove; |
| 204 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchend; | 204 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchend; |
| 205 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchcancel; | 205 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchcancel; |
| 206 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
change; | 206 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
change; |
| 207 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
error; | 207 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
error; |
| 208 }; | 208 }; |
| 209 | 209 |
| OLD | NEW |