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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 // WebKit extension | 110 // WebKit extension |
111 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel
ector] boolean webkitMatchesSelector(DOMString selectors); | 111 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel
ector] boolean webkitMatchesSelector(DOMString selectors); |
112 | 112 |
113 // Shadow DOM API | 113 // Shadow DOM API |
114 [Reflect, TreatNullAs=NullString, PerWorldBindings] attribute DOMString pseu
do; | 114 [Reflect, TreatNullAs=NullString, PerWorldBindings] attribute DOMString pseu
do; |
115 [RaisesException] ShadowRoot createShadowRoot(); | 115 [RaisesException] ShadowRoot createShadowRoot(); |
116 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; | 116 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; |
117 [PerWorldBindings] NodeList getDestinationInsertionPoints(); | 117 [PerWorldBindings] NodeList getDestinationInsertionPoints(); |
118 | 118 |
| 119 // To-be-deprecated prefixed Shadow DOM API |
| 120 [ImplementedAs=createShadowRoot, RaisesException, MeasureAs=ShadowDOMPrefixe
dCreateShadowRoot] ShadowRoot webkitCreateShadowRoot(); |
| 121 [ImplementedAs=shadowRoot, PerWorldBindings, MeasureAs=ShadowDOMPrefixedShad
owRoot] readonly attribute ShadowRoot webkitShadowRoot; |
| 122 |
119 // CSSOM View Module API | 123 // CSSOM View Module API |
120 ClientRectList getClientRects(); | 124 ClientRectList getClientRects(); |
121 ClientRect getBoundingClientRect(); | 125 ClientRect getBoundingClientRect(); |
122 | 126 |
123 // Mozilla version | 127 // Mozilla version |
124 const unsigned short ALLOW_KEYBOARD_INPUT = 1; | 128 const unsigned short ALLOW_KEYBOARD_INPUT = 1; |
125 [PerWorldBindings, ActivityLogging=ForAllWorlds, MeasureAs=PrefixedElementRe
questFullScreen] void webkitRequestFullScreen([Default=Undefined] optional unsig
ned short flags); | 129 [PerWorldBindings, ActivityLogging=ForAllWorlds, MeasureAs=PrefixedElementRe
questFullScreen] void webkitRequestFullScreen([Default=Undefined] optional unsig
ned short flags); |
126 | 130 |
127 // W3C version | 131 // W3C version |
128 [PerWorldBindings, ActivityLogging=ForAllWorlds, MeasureAs=PrefixedElementRe
questFullscreen] void webkitRequestFullscreen(); | 132 [PerWorldBindings, ActivityLogging=ForAllWorlds, MeasureAs=PrefixedElementRe
questFullscreen] void webkitRequestFullscreen(); |
(...skipping 13 matching lines...) Expand all Loading... |
142 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 146 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
143 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 147 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
144 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 148 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
145 attribute EventHandler onwebkitfullscreenchange; | 149 attribute EventHandler onwebkitfullscreenchange; |
146 attribute EventHandler onwebkitfullscreenerror; | 150 attribute EventHandler onwebkitfullscreenerror; |
147 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; | 151 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; |
148 }; | 152 }; |
149 | 153 |
150 Element implements ParentNode; | 154 Element implements ParentNode; |
151 Element implements ChildNode; | 155 Element implements ChildNode; |
OLD | NEW |