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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 [PerWorldBindings] readonly attribute DOMStringMap dataset; | 94 [PerWorldBindings] readonly attribute DOMStringMap dataset; |
95 | 95 |
96 // NodeSelector - Selector API | 96 // NodeSelector - Selector API |
97 [RaisesException] Element querySelector(DOMString selectors); | 97 [RaisesException] Element querySelector(DOMString selectors); |
98 [RaisesException] NodeList querySelectorAll(DOMString selectors); | 98 [RaisesException] NodeList querySelectorAll(DOMString selectors); |
99 | 99 |
100 // WebKit extension, pending specification. | 100 // WebKit extension, pending specification. |
101 [RaisesException] boolean webkitMatchesSelector([Default=Undefined] optional
DOMString selectors); | 101 [RaisesException] boolean webkitMatchesSelector([Default=Undefined] optional
DOMString selectors); |
102 | 102 |
103 // ParentNode interface API | |
104 [PerWorldBindings] readonly attribute HTMLCollection children; | |
105 [PerWorldBindings] readonly attribute Element firstElementChild; | |
106 [PerWorldBindings] readonly attribute Element lastElementChild; | |
107 [PerWorldBindings] readonly attribute unsigned long childElementCount; | |
108 | |
109 // ShadowAware API | 103 // ShadowAware API |
110 [Reflect=pseudo, ImplementedAs=pseudo, PerWorldBindings] attribute DOMString
webkitPseudo; | 104 [Reflect=pseudo, ImplementedAs=pseudo, PerWorldBindings] attribute DOMString
webkitPseudo; |
111 [ImplementedAs=createShadowRoot, RaisesException] ShadowRoot webkitCreateSha
dowRoot(); | 105 [ImplementedAs=createShadowRoot, RaisesException] ShadowRoot webkitCreateSha
dowRoot(); |
112 [ImplementedAs=shadowRoot, PerWorldBindings] readonly attribute ShadowRoot w
ebkitShadowRoot; | 106 [ImplementedAs=shadowRoot, PerWorldBindings] readonly attribute ShadowRoot w
ebkitShadowRoot; |
113 | 107 |
114 // ChildNode interface API | |
115 [PerWorldBindings] readonly attribute Element previousElementSibling; | |
116 [PerWorldBindings] readonly attribute Element nextElementSibling; | |
117 [RaisesException] void remove(); | |
118 | |
119 // CSSOM View Module API | 108 // CSSOM View Module API |
120 ClientRectList getClientRects(); | 109 ClientRectList getClientRects(); |
121 ClientRect getBoundingClientRect(); | 110 ClientRect getBoundingClientRect(); |
122 | 111 |
123 // Mozilla version | 112 // Mozilla version |
124 const unsigned short ALLOW_KEYBOARD_INPUT = 1; | 113 const unsigned short ALLOW_KEYBOARD_INPUT = 1; |
125 [EnabledAtRuntime=fullscreen] void webkitRequestFullScreen([Default=Undefine
d] optional unsigned short flags); | 114 [EnabledAtRuntime=fullscreen] void webkitRequestFullScreen([Default=Undefine
d] optional unsigned short flags); |
126 | 115 |
127 // W3C version | 116 // W3C version |
128 [EnabledAtRuntime=fullscreen] void webkitRequestFullscreen(); | 117 [EnabledAtRuntime=fullscreen] void webkitRequestFullscreen(); |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 [NotEnumerable, PerWorldBindings] attribute EventListener onreset; | 187 [NotEnumerable, PerWorldBindings] attribute EventListener onreset; |
199 [NotEnumerable, PerWorldBindings] attribute EventListener onsearch; | 188 [NotEnumerable, PerWorldBindings] attribute EventListener onsearch; |
200 [NotEnumerable, PerWorldBindings] attribute EventListener onselectstart; | 189 [NotEnumerable, PerWorldBindings] attribute EventListener onselectstart; |
201 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchstart; | 190 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchstart; |
202 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchmove; | 191 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchmove; |
203 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchend; | 192 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchend; |
204 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchcancel; | 193 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchcancel; |
205 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
change; | 194 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
change; |
206 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
error; | 195 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
error; |
207 }; | 196 }; |
| 197 |
| 198 Element implements ParentNode; |
| 199 Element implements ChildNode; |
| 200 |
OLD | NEW |