OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> | 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> |
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName, DOMString? typeExtension); | 197 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName, DOMString? typeExtension); |
198 | 198 |
199 // Page Visibility | 199 // Page Visibility |
200 // http://www.w3.org/TR/page-visibility/#sec-document-interface | 200 // http://www.w3.org/TR/page-visibility/#sec-document-interface |
201 readonly attribute boolean hidden; | 201 readonly attribute boolean hidden; |
202 readonly attribute VisibilityState visibilityState; | 202 readonly attribute VisibilityState visibilityState; |
203 | 203 |
204 // Non-standard APIs | 204 // Non-standard APIs |
205 [MeasureAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] read
only attribute DOMString defaultCharset; | 205 [MeasureAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] read
only attribute DOMString defaultCharset; |
206 [MeasureAs=DocumentCaretRangeFromPoint] Range caretRangeFromPoint([Default=U
ndefined] optional long x, [Default=Undefined] optional long y); | 206 [MeasureAs=DocumentCaretRangeFromPoint] Range caretRangeFromPoint([Default=U
ndefined] optional long x, [Default=Undefined] optional long y); |
207 [CallWith=ScriptState, DeprecateAs=DocumentGetCSSCanvasContext] any getCSSCa
nvasContext(DOMString contextId, DOMString name, long width, long height); | |
208 | 207 |
209 // Deprecated prefixed page visibility API. | 208 // Deprecated prefixed page visibility API. |
210 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting | 209 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting |
211 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. | 210 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. |
212 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; | 211 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
213 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 212 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
214 | 213 |
215 // Event handler attributes | 214 // Event handler attributes |
216 attribute EventHandler onbeforecopy; | 215 attribute EventHandler onbeforecopy; |
217 attribute EventHandler onbeforecut; | 216 attribute EventHandler onbeforecut; |
218 attribute EventHandler onbeforepaste; | 217 attribute EventHandler onbeforepaste; |
219 attribute EventHandler oncopy; | 218 attribute EventHandler oncopy; |
220 attribute EventHandler oncut; | 219 attribute EventHandler oncut; |
221 attribute EventHandler onpaste; | 220 attribute EventHandler onpaste; |
222 attribute EventHandler onsearch; | 221 attribute EventHandler onsearch; |
223 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 222 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
224 attribute EventHandler onselectionchange; | 223 attribute EventHandler onselectionchange; |
225 attribute EventHandler onselectstart; | 224 attribute EventHandler onselectstart; |
226 attribute EventHandler onwheel; | 225 attribute EventHandler onwheel; |
227 }; | 226 }; |
228 | 227 |
229 Document implements GlobalEventHandlers; | 228 Document implements GlobalEventHandlers; |
230 Document implements ParentNode; | 229 Document implements ParentNode; |
231 Document implements NonElementParentNode; | 230 Document implements NonElementParentNode; |
OLD | NEW |