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 25 matching lines...) Expand all Loading... |
36 Text createTextNode(DOMString data); | 36 Text createTextNode(DOMString data); |
37 Comment createComment(DOMString data); | 37 Comment createComment(DOMString data); |
38 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. | 38 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. |
39 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); | 39 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); |
40 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); // Removed from DOM4. | 40 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); // Removed from DOM4. |
41 HTMLCollection getElementsByTagName(DOMString localName); | 41 HTMLCollection getElementsByTagName(DOMString localName); |
42 | 42 |
43 // Introduced in DOM Level 2: | 43 // Introduced in DOM Level 2: |
44 | 44 |
45 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor
tNode(Node node, optional boolean deep); | 45 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor
tNode(Node node, optional boolean deep); |
46 [CustomElementCallbacks, RaisesException] Element createElementNS([TreatNull
As=NullString] DOMString namespaceURI, DOMString qualifiedName); | 46 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName); |
47 [RaisesException, DeprecateAs=DocumentCreateAttributeNS] Attr createAttribut
eNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, | 47 [RaisesException, DeprecateAs=DocumentCreateAttributeNS] Attr createAttribut
eNS([Default=Undefined] optional DOMString? namespaceURI, |
48
[TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
// Removed from DOM4. | 48
[Default=Undefined] optional DOMString? qualifiedName); // Removed from DOM4
. |
49 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam
espaceURI, DOMString localName); | 49 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); |
50 [PerWorldBindings] Element getElementById(DOMString elementId); | 50 [PerWorldBindings] Element getElementById(DOMString elementId); |
51 | 51 |
52 // DOM Level 3 Core | 52 // DOM Level 3 Core |
53 | 53 |
54 [MeasureAs=DocumentInputEncoding] readonly attribute DOMString? inputEncodin
g; // Removed from DOM4. | 54 [MeasureAs=DocumentInputEncoding] readonly attribute DOMString? inputEncodin
g; // Removed from DOM4. |
55 | 55 |
56 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; /
/ Removed from DOM4. | 56 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; /
/ Removed from DOM4. |
57 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; // Removed from DOM4. | 57 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; // Removed from DOM4. |
58 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. | 58 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. |
59 | 59 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 [Default=Undefined] optional double
pageY, | 198 [Default=Undefined] optional double
pageY, |
199 [Default=Undefined] optional double
screenX, | 199 [Default=Undefined] optional double
screenX, |
200 [Default=Undefined] optional double
screenY, | 200 [Default=Undefined] optional double
screenY, |
201 [Default=Undefined] optional double
webkitRadiusX, | 201 [Default=Undefined] optional double
webkitRadiusX, |
202 [Default=Undefined] optional double
webkitRadiusY, | 202 [Default=Undefined] optional double
webkitRadiusY, |
203 [Default=Undefined] optional float
webkitRotationAngle, | 203 [Default=Undefined] optional float
webkitRotationAngle, |
204 [Default=Undefined] optional float
webkitForce); | 204 [Default=Undefined] optional float
webkitForce); |
205 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); | 205 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); |
206 | 206 |
207 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); | 207 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); |
208 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString localName, [TreatNullAs=NullString] DOMString typeExtension); | 208 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString localName, DOMString? typeExtension); |
209 [CustomElementCallbacks, RaisesException] Element createElementNS([TreatNull
As=NullString] DOMString namespaceURI, DOMString qualifiedName, | 209 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName, DOMString? typeExtension); |
210 [TreatNullAs=NullString] DOMString typeExtension); | |
211 | 210 |
212 // Page visibility API. | 211 // Page visibility API. |
213 readonly attribute DOMString visibilityState; | 212 readonly attribute DOMString visibilityState; |
214 readonly attribute boolean hidden; | 213 readonly attribute boolean hidden; |
215 | 214 |
216 // Deprecated prefixed page visibility API. | 215 // Deprecated prefixed page visibility API. |
217 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting | 216 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting |
218 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. | 217 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. |
219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; | 218 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
220 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
221 | 220 |
222 readonly attribute HTMLScriptElement currentScript; | 221 readonly attribute HTMLScriptElement currentScript; |
223 }; | 222 }; |
224 | 223 |
225 Document implements GlobalEventHandlers; | 224 Document implements GlobalEventHandlers; |
226 Document implements ParentNode; | 225 Document implements ParentNode; |
OLD | NEW |