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 15 matching lines...) Expand all Loading... |
26 | 26 |
27 // DOM Level 1 Core | 27 // DOM Level 1 Core |
28 readonly attribute DocumentType doctype; | 28 readonly attribute DocumentType doctype; |
29 readonly attribute DOMImplementation implementation; | 29 readonly attribute DOMImplementation implementation; |
30 readonly attribute Element documentElement; | 30 readonly attribute Element documentElement; |
31 | 31 |
32 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString tagName); | 32 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString tagName); |
33 DocumentFragment createDocumentFragment(); | 33 DocumentFragment createDocumentFragment(); |
34 Text createTextNode(DOMString data); | 34 Text createTextNode(DOMString data); |
35 Comment createComment(DOMString data); | 35 Comment createComment(DOMString data); |
36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. | 36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection(DOMString data); // Removed from DOM4. |
37 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); | 37 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); |
38 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); | 38 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute(DO
MString name); |
39 HTMLCollection getElementsByTagName(DOMString localName); | 39 HTMLCollection getElementsByTagName(DOMString localName); |
40 | 40 |
41 // Introduced in DOM Level 2: | 41 // Introduced in DOM Level 2: |
42 | 42 |
43 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor
tNode(Node node, optional boolean deep = false); | 43 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor
tNode(Node node, optional boolean deep = false); |
44 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName); | 44 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName); |
45 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN
S([Default=Undefined] optional DOMString? namespaceURI, | 45 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN
S(DOMString? namespaceURI, DOMString? qualifiedName); |
46
[Default=Undefined] optional DOMString? qualifiedName); | |
47 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); | 46 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); |
48 [PerWorldBindings] Element getElementById(DOMString elementId); | 47 [PerWorldBindings] Element getElementById(DOMString elementId); |
49 | 48 |
50 // DOM Level 3 Core | 49 // DOM Level 3 Core |
51 | 50 |
52 [MeasureAs=DocumentInputEncoding] readonly attribute DOMString? inputEncodin
g; // Removed from DOM4. | 51 [MeasureAs=DocumentInputEncoding] readonly attribute DOMString? inputEncodin
g; // Removed from DOM4. |
53 | 52 |
54 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; /
/ Removed from DOM4. | 53 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; /
/ Removed from DOM4. |
55 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; // Removed from DOM4. | 54 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; // Removed from DOM4. |
56 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. | 55 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting | 207 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting |
209 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. | 208 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. |
210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; | 209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
211 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
212 | 211 |
213 readonly attribute HTMLScriptElement currentScript; | 212 readonly attribute HTMLScriptElement currentScript; |
214 }; | 213 }; |
215 | 214 |
216 Document implements GlobalEventHandlers; | 215 Document implements GlobalEventHandlers; |
217 Document implements ParentNode; | 216 Document implements ParentNode; |
OLD | NEW |