| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 [SetterRaisesException] attribute boolean xmlStandalone; | 58 [SetterRaisesException] attribute boolean xmlStandalone; |
| 59 | 59 |
| 60 [RaisesException] Node adoptNode([Default=Undefined] optional
Node source); | 60 [RaisesException] Node adoptNode([Default=Undefined] optional
Node source); |
| 61 | 61 |
| 62 [TreatReturnedNullStringAs=Null] readonly attribute DOMString documentURI; | 62 [TreatReturnedNullStringAs=Null] readonly attribute DOMString documentURI; |
| 63 | 63 |
| 64 // DOM Level 2 Events (DocumentEvents interface) | 64 // DOM Level 2 Events (DocumentEvents interface) |
| 65 | 65 |
| 66 [RaisesException] Event createEvent([Default=Undefined] optiona
l DOMString eventType); | 66 [RaisesException] Event createEvent([Default=Undefined] optiona
l DOMString eventType); |
| 67 | 67 |
| 68 // DOM Level 2 Tranversal and Range (DocumentRange interface) | 68 // DOM Level 2 Traversal and Range (DocumentRange interface) |
| 69 | 69 |
| 70 Range createRange(); | 70 Range createRange(); |
| 71 | 71 |
| 72 // DOM Level 2 Tranversal and Range (DocumentTraversal interface) | 72 // DOM Level 2 Traversal and Range (DocumentTraversal interface) |
| 73 | 73 // In DOM4, the fourth argument |expandEntityReferences| is removed. |
| 74 [RaisesException] NodeIterator createNodeIterator([Default=Undefined] optio
nal Node root, | 74 // Historically, this argument was never implemented and has been ignored. |
| 75 [Default=Undefined] optional
unsigned long whatToShow, | 75 // We still receive the argument to keep compatibility, but don't do anythin
g if it's specified. |
| 76 [Default=Undefined] optional
NodeFilter filter, | 76 [RaisesException] NodeIterator createNodeIterator(Node root, |
| 77 [Default=Undefined] optional
boolean expandEntityReferences); | 77 optional unsigned long wha
tToShow, |
| 78 [RaisesException] TreeWalker createTreeWalker([Default=Undefined] optional
Node root, | 78 optional NodeFilter filter
, |
| 79 [Default=Undefined] optional unsi
gned long whatToShow, | 79 optional boolean expandEnt
ityReferences); |
| 80 [Default=Undefined] optional Node
Filter filter, | 80 [RaisesException] TreeWalker createTreeWalker(Node root, |
| 81 [Default=Undefined] optional bool
ean expandEntityReferences); | 81 optional unsigned long whatToS
how, |
| 82 optional NodeFilter filter, |
| 83 optional boolean expandEntityR
eferences); |
| 82 | 84 |
| 83 // DOM Level 2 Abstract Views (DocumentView interface) | 85 // DOM Level 2 Abstract Views (DocumentView interface) |
| 84 | 86 |
| 85 readonly attribute DOMWindow defaultView; | 87 readonly attribute DOMWindow defaultView; |
| 86 | 88 |
| 87 // DOM Level 2 Style (DocumentStyle interface) | 89 // DOM Level 2 Style (DocumentStyle interface) |
| 88 | 90 |
| 89 readonly attribute StyleSheetList styleSheets; | 91 readonly attribute StyleSheetList styleSheets; |
| 90 | 92 |
| 91 // DOM Level 2 Style (DocumentCSS interface) | 93 // DOM Level 2 Style (DocumentCSS interface) |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 | 293 |
| 292 // ParentNode interface API | 294 // ParentNode interface API |
| 293 readonly attribute HTMLCollection children; | 295 readonly attribute HTMLCollection children; |
| 294 readonly attribute Element firstElementChild; | 296 readonly attribute Element firstElementChild; |
| 295 readonly attribute Element lastElementChild; | 297 readonly attribute Element lastElementChild; |
| 296 readonly attribute unsigned long childElementCount; | 298 readonly attribute unsigned long childElementCount; |
| 297 | 299 |
| 298 readonly attribute HTMLScriptElement currentScript; | 300 readonly attribute HTMLScriptElement currentScript; |
| 299 }; | 301 }; |
| 300 | 302 |
| OLD | NEW |