| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 // Mozilla version | 128 // Mozilla version |
| 129 const unsigned short ALLOW_KEYBOARD_INPUT = 1; | 129 const unsigned short ALLOW_KEYBOARD_INPUT = 1; |
| 130 [RuntimeEnabled=Fullscreen, PerWorldBindings, ActivityLogging=ForAllWorlds,
MeasureAs=PrefixedElementRequestFullScreen] void webkitRequestFullScreen([Defaul
t=Undefined] optional unsigned short flags); | 130 [RuntimeEnabled=Fullscreen, PerWorldBindings, ActivityLogging=ForAllWorlds,
MeasureAs=PrefixedElementRequestFullScreen] void webkitRequestFullScreen([Defaul
t=Undefined] optional unsigned short flags); |
| 131 | 131 |
| 132 // W3C version | 132 // W3C version |
| 133 [RuntimeEnabled=Fullscreen, PerWorldBindings, ActivityLogging=ForAllWorlds,
MeasureAs=PrefixedElementRequestFullscreen] void webkitRequestFullscreen(); | 133 [RuntimeEnabled=Fullscreen, PerWorldBindings, ActivityLogging=ForAllWorlds,
MeasureAs=PrefixedElementRequestFullscreen] void webkitRequestFullscreen(); |
| 134 | 134 |
| 135 void webkitRequestPointerLock(); | 135 void webkitRequestPointerLock(); |
| 136 | 136 |
| 137 // CSS Regions API | |
| 138 [RuntimeEnabled=CSSRegions, PerWorldBindings] readonly attribute DOMString w
ebkitRegionOverset; | |
| 139 [RuntimeEnabled=CSSRegions] sequence<Range> webkitGetRegionFlowRanges(); | |
| 140 | |
| 141 // Event handler attributes | 137 // Event handler attributes |
| 142 attribute EventHandler onbeforecopy; | 138 attribute EventHandler onbeforecopy; |
| 143 attribute EventHandler onbeforecut; | 139 attribute EventHandler onbeforecut; |
| 144 attribute EventHandler onbeforepaste; | 140 attribute EventHandler onbeforepaste; |
| 145 attribute EventHandler oncopy; | 141 attribute EventHandler oncopy; |
| 146 attribute EventHandler oncut; | 142 attribute EventHandler oncut; |
| 147 attribute EventHandler onpaste; | 143 attribute EventHandler onpaste; |
| 148 attribute EventHandler onsearch; | 144 attribute EventHandler onsearch; |
| 149 attribute EventHandler onselectstart; | 145 attribute EventHandler onselectstart; |
| 150 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 146 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
| 151 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 147 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
| 152 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 148 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
| 153 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 149 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
| 154 attribute EventHandler onwebkitfullscreenchange; | 150 attribute EventHandler onwebkitfullscreenchange; |
| 155 attribute EventHandler onwebkitfullscreenerror; | 151 attribute EventHandler onwebkitfullscreenerror; |
| 156 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; | 152 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; |
| 157 }; | 153 }; |
| 158 | 154 |
| 159 Element implements ParentNode; | 155 Element implements ParentNode; |
| 160 Element implements ChildNode; | 156 Element implements ChildNode; |
| OLD | NEW |