| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString]
DOMString nodeValue | 55 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString]
DOMString nodeValue |
| 56 setter raises(DOMException); | 56 setter raises(DOMException); |
| 57 | 57 |
| 58 readonly attribute unsigned short nodeType; | 58 readonly attribute unsigned short nodeType; |
| 59 readonly attribute Node parentNode; | 59 readonly attribute Node parentNode; |
| 60 readonly attribute NodeList childNodes; | 60 readonly attribute NodeList childNodes; |
| 61 readonly attribute Node firstChild; | 61 readonly attribute Node firstChild; |
| 62 readonly attribute Node lastChild; | 62 readonly attribute Node lastChild; |
| 63 readonly attribute Node previousSibling; | 63 readonly attribute Node previousSibling; |
| 64 readonly attribute Node nextSibling; | 64 readonly attribute Node nextSibling; |
| 65 readonly attribute NamedNodeMap attributes; | |
| 66 readonly attribute Document ownerDocument; | 65 readonly attribute Document ownerDocument; |
| 67 | 66 |
| 68 [ObjCLegacyUnnamedParameters, Custom] Node insertBefore(in [CustomReturn] No
de newChild, | 67 [ObjCLegacyUnnamedParameters, Custom] Node insertBefore(in [CustomReturn] No
de newChild, |
| 69 in Node refChild) | 68 in Node refChild) |
| 70 raises(DOMException); | 69 raises(DOMException); |
| 71 [ObjCLegacyUnnamedParameters, Custom] Node replaceChild(in Node newChild, | 70 [ObjCLegacyUnnamedParameters, Custom] Node replaceChild(in Node newChild, |
| 72 in [CustomReturn] No
de oldChild) | 71 in [CustomReturn] No
de oldChild) |
| 73 raises(DOMException); | 72 raises(DOMException); |
| 74 [Custom] Node removeChild(in [CustomReturn] Node oldChild) | 73 [Custom] Node removeChild(in [CustomReturn] Node oldChild) |
| 75 raises(DOMException); | 74 raises(DOMException); |
| 76 [Custom] Node appendChild(in [CustomReturn] Node newChild) | 75 [Custom] Node appendChild(in [CustomReturn] Node newChild) |
| 77 raises(DOMException); | 76 raises(DOMException); |
| 78 | 77 |
| 79 boolean hasChildNodes(); | 78 boolean hasChildNodes(); |
| 80 Node cloneNode(in [Optional=DefaultIsUndefined] boolean deep); | 79 Node cloneNode(in [Optional=DefaultIsUndefined] boolean deep); |
| 81 void normalize(); | 80 void normalize(); |
| 82 | 81 |
| 83 // Introduced in DOM Level 2: | 82 // Introduced in DOM Level 2: |
| 84 | 83 |
| 85 [ObjCLegacyUnnamedParameters] boolean isSupported(in [Optional=DefaultIsUnde
fined] DOMString feature, | 84 [ObjCLegacyUnnamedParameters] boolean isSupported(in [Optional=DefaultIsUnde
fined] DOMString feature, |
| 86 in [TreatNullAs=NullString,Optional=Defau
ltIsUndefined] DOMString version); | 85 in [TreatNullAs=NullString,Optional=Defau
ltIsUndefined] DOMString version); |
| 87 | 86 |
| 88 readonly attribute [TreatReturnedNullStringAs=Null] DOMString namespa
ceURI; | 87 readonly attribute [TreatReturnedNullStringAs=Null] DOMString namespa
ceURI; |
| 89 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString]
DOMString prefix | 88 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString]
DOMString prefix |
| 90 setter raises(DOMException); | 89 setter raises(DOMException); |
| 91 readonly attribute [TreatReturnedNullStringAs=Null] DOMString localNa
me; | 90 readonly attribute [TreatReturnedNullStringAs=Null] DOMString localNa
me; |
| 92 | 91 |
| 92 #if defined(LANGUAGE_OBJECTIVE_C) |
| 93 readonly attribute NamedNodeMap attributes; |
| 93 boolean hasAttributes(); | 94 boolean hasAttributes(); |
| 95 #endif |
| 96 |
| 94 | 97 |
| 95 // Introduced in DOM Level 3: | 98 // Introduced in DOM Level 3: |
| 96 | 99 |
| 97 readonly attribute [TreatReturnedNullStringAs=Null] DOMString baseURI; | 100 readonly attribute [TreatReturnedNullStringAs=Null] DOMString baseURI; |
| 98 | 101 |
| 99 // FIXME: the spec says this can also raise on retrieval. | 102 // FIXME: the spec says this can also raise on retrieval. |
| 100 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString]
DOMString textContent | 103 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString]
DOMString textContent |
| 101 setter raises(DOMException); | 104 setter raises(DOMException); |
| 102 | 105 |
| 103 boolean isSameNode(in [Optional=DefaultIsUndefined] Node other); | 106 boolean isSameNode(in [Optional=DefaultIsUndefined] Node other); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 in boolean useCapture); | 151 in boolean useCapture); |
| 149 [Custom] void removeEventListener(in DOMString type, | 152 [Custom] void removeEventListener(in DOMString type, |
| 150 in EventListener listener, | 153 in EventListener listener, |
| 151 in boolean useCapture); | 154 in boolean useCapture); |
| 152 boolean dispatchEvent(in Event event) | 155 boolean dispatchEvent(in Event event) |
| 153 raises(EventException); | 156 raises(EventException); |
| 154 #endif | 157 #endif |
| 155 | 158 |
| 156 }; | 159 }; |
| 157 | 160 |
| OLD | NEW |