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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) |
71 | 71 |
72 Range createRange(); | 72 Range createRange(); |
73 | 73 |
74 // DOM Level 2 Traversal and Range (DocumentTraversal interface) | 74 // DOM Level 2 Traversal and Range (DocumentTraversal interface) |
75 // In DOM4, the fourth argument |expandEntityReferences| is removed. | 75 |
76 // Historically, this argument was never implemented and has been ignored. | |
77 // We still receive the argument to keep compatibility, but don't do anythin
g if it's specified. | |
78 [RaisesException] NodeIterator createNodeIterator(Node root, | 76 [RaisesException] NodeIterator createNodeIterator(Node root, |
79 optional unsigned long wha
tToShow, | 77 optional unsigned long wha
tToShow, |
80 optional NodeFilter filter
, | 78 optional NodeFilter filter
); |
81 optional boolean expandEnt
ityReferences); | |
82 [RaisesException] TreeWalker createTreeWalker(Node root, | 79 [RaisesException] TreeWalker createTreeWalker(Node root, |
83 optional unsigned long whatToS
how, | 80 optional unsigned long whatToS
how, |
84 optional NodeFilter filter, | 81 optional NodeFilter filter); |
85 optional boolean expandEntityR
eferences); | |
86 | 82 |
87 // DOM Level 2 Abstract Views (DocumentView interface) | 83 // DOM Level 2 Abstract Views (DocumentView interface) |
88 | 84 |
89 [ImplementedAs=domWindow] readonly attribute Window defaultView; | 85 [ImplementedAs=domWindow] readonly attribute Window defaultView; |
90 | 86 |
91 // DOM Level 2 Style (DocumentStyle interface) | 87 // DOM Level 2 Style (DocumentStyle interface) |
92 | 88 |
93 readonly attribute StyleSheetList styleSheets; | 89 readonly attribute StyleSheetList styleSheets; |
94 | 90 |
95 // DOM Level 2 Style (DocumentCSS interface) | 91 // DOM Level 2 Style (DocumentCSS interface) |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 215 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
220 | 216 |
221 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi
le/tip/csp-specification.dev.html#script-interfaces | 217 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi
le/tip/csp-specification.dev.html#script-interfaces |
222 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut
e SecurityPolicy securityPolicy; | 218 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut
e SecurityPolicy securityPolicy; |
223 | 219 |
224 readonly attribute HTMLScriptElement currentScript; | 220 readonly attribute HTMLScriptElement currentScript; |
225 }; | 221 }; |
226 | 222 |
227 Document implements GlobalEventHandlers; | 223 Document implements GlobalEventHandlers; |
228 Document implements ParentNode; | 224 Document implements ParentNode; |
OLD | NEW |