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=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Defaul
t=Undefined] optional DOMString tagName); | 32 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Defaul
t=Undefined] optional DOMString tagName); |
33 DocumentFragment createDocumentFragment(); | 33 DocumentFragment createDocumentFragment(); |
34 [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMStrin
g data); | 34 [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMStrin
g data); |
35 Comment createComment([Default=Undefined] optional DOMString data); | 35 Comment createComment([Default=Undefined] optional DOMString data); |
36 [RaisesException] CDATASection createCDATASection([Default=Undefined] option
al DOMString data); | 36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. |
37 [RaisesException] ProcessingInstruction createProcessingInstruction([Default
=Undefined] optional DOMString target, | 37 [RaisesException] ProcessingInstruction createProcessingInstruction([Default
=Undefined] optional DOMString target, |
38
[Default=Undefined] optional DOMString data); | 38
[Default=Undefined] optional DOMString data); |
39 [RaisesException] Attr createAttribute([Default=Undefined] optional DOMStrin
g name); | 39 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); // Removed from DOM4. |
40 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefine
d] optional DOMString tagname); | 40 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefine
d] optional DOMString tagname); |
41 | 41 |
42 // Introduced in DOM Level 2: | 42 // Introduced in DOM Level 2: |
43 | 43 |
44 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node im
portedNode, | 44 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node im
portedNode, |
45 optional boolean deep); | 45 optional boolean deep); |
46 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Defa
ult=Undefined] optional DOMString namespaceURI, | 46 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola
tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Defa
ult=Undefined] optional DOMString namespaceURI, |
47 [TreatNullAs=NullString,Default=Undefined] optional
DOMString qualifiedName); | 47 [TreatNullAs=NullString,Default=Undefined] optional
DOMString qualifiedName); |
48 [RaisesException] Attr createAttributeNS([TreatNullAs=NullString,Default=Und
efined] optional DOMString namespaceURI, | 48 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN
S([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, |
49 [Treat
NullAs=NullString,Default=Undefined] optional DOMString qualifiedName); | 49
[TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
// Removed from DOM4. |
50 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined]
optional DOMString namespaceURI, | 50 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined]
optional DOMString namespaceURI, |
51 [Default=Undefined] optional
DOMString localName); | 51 [Default=Undefined] optional
DOMString localName); |
52 [PerWorldBindings] Element getElementById([Default=Undefined] opt
ional DOMString elementId); | 52 [PerWorldBindings] Element getElementById([Default=Undefined] opt
ional DOMString elementId); |
53 | 53 |
54 // DOM Level 3 Core | 54 // DOM Level 3 Core |
55 | 55 |
56 [TreatReturnedNullStringAs=Null] readonly attribute DOMString inputEncoding; | 56 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentInputEncoding] readonly a
ttribute DOMString inputEncoding; // Removed from DOM4. |
57 | 57 |
58 [TreatReturnedNullStringAs=Null] readonly attribute DOMString xmlEncoding; | 58 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentXMLEncoding] readonly att
ribute DOMString xmlEncoding; // Removed from DOM4. |
59 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRais
esException] attribute DOMString xmlVersion; | 59 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRaisesExcepti
on, MeasureAs=DocumentXMLVersion] attribute DOMString xmlVersion; // Removed fro
m DOM4. |
60 [SetterRaisesException] attribute boolean xmlStandalone; | 60 [SetterRaisesException, MeasureAs=DocumentXMLStandalone] attribute boolean x
mlStandalone; // Removed from DOM4. |
61 | 61 |
62 [RaisesException, CustomElementCallbacks=Enable] Node adoptNod
e([Default=Undefined] optional Node source); | 62 [RaisesException, CustomElementCallbacks=Enable] Node adoptNod
e([Default=Undefined] optional Node source); |
63 | 63 |
64 [TreatReturnedNullStringAs=Null] readonly attribute DOMString documentURI; | 64 [TreatReturnedNullStringAs=Null] readonly attribute DOMString documentURI; |
65 | 65 |
66 // DOM Level 2 Events (DocumentEvents interface) | 66 // DOM Level 2 Events (DocumentEvents interface) |
67 | 67 |
68 [RaisesException] Event createEvent([Default=Undefined] optiona
l DOMString eventType); | 68 [RaisesException] Event createEvent([Default=Undefined] optiona
l DOMString eventType); |
69 | 69 |
70 // DOM Level 2 Traversal and Range (DocumentRange interface) | 70 // DOM Level 2 Traversal and Range (DocumentRange interface) |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 readonly attribute boolean webkitHidden; | 272 readonly attribute boolean webkitHidden; |
273 | 273 |
274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi
le/tip/csp-specification.dev.html#script-interfaces | 274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi
le/tip/csp-specification.dev.html#script-interfaces |
275 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib
ute SecurityPolicy securityPolicy; | 275 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib
ute SecurityPolicy securityPolicy; |
276 | 276 |
277 readonly attribute HTMLScriptElement currentScript; | 277 readonly attribute HTMLScriptElement currentScript; |
278 }; | 278 }; |
279 | 279 |
280 Document implements ParentNode; | 280 Document implements ParentNode; |
281 | 281 |
OLD | NEW |