| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // In DOM4, the fourth argument |expandEntityReferences| is removed. |
| 76 // Historically, this argument was never implemented and has been ignored. | 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. | 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, | 78 [Custom, RaisesException] NodeIterator createNodeIterator(Node root, |
| 79 optional unsigned long wha
tToShow, | 79 optional unsigned
long whatToShow, |
| 80 optional NodeFilter filter
, | 80 optional NodeFilte
r filter, |
| 81 optional boolean expandEnt
ityReferences); | 81 optional boolean e
xpandEntityReferences); |
| 82 [RaisesException] TreeWalker createTreeWalker(Node root, | 82 [Custom, RaisesException] TreeWalker createTreeWalker(Node root, |
| 83 optional unsigned long whatToS
how, | 83 optional unsigned long
whatToShow, |
| 84 optional NodeFilter filter, | 84 optional NodeFilter fi
lter, |
| 85 optional boolean expandEntityR
eferences); | 85 optional boolean expan
dEntityReferences); |
| 86 | 86 |
| 87 // DOM Level 2 Abstract Views (DocumentView interface) | 87 // DOM Level 2 Abstract Views (DocumentView interface) |
| 88 | 88 |
| 89 readonly attribute Window defaultView; | 89 readonly attribute Window defaultView; |
| 90 | 90 |
| 91 // DOM Level 2 Style (DocumentStyle interface) | 91 // DOM Level 2 Style (DocumentStyle interface) |
| 92 | 92 |
| 93 readonly attribute StyleSheetList styleSheets; | 93 readonly attribute StyleSheetList styleSheets; |
| 94 | 94 |
| 95 // DOM Level 2 Style (DocumentCSS interface) | 95 // DOM Level 2 Style (DocumentCSS interface) |
| (...skipping 176 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 |