| 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 30 matching lines...) Expand all Loading... |
| 41 // Introduced in DOM Level 2: | 41 // Introduced in DOM Level 2: |
| 42 | 42 |
| 43 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor
tNode(Node node, optional boolean deep = false); | 43 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor
tNode(Node node, optional boolean deep = false); |
| 44 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName); | 44 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName); |
| 45 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN
S(DOMString? namespaceURI, DOMString? qualifiedName); | 45 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN
S(DOMString? namespaceURI, DOMString? qualifiedName); |
| 46 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); | 46 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); |
| 47 [PerWorldBindings] Element getElementById(DOMString elementId); | 47 [PerWorldBindings] Element getElementById(DOMString elementId); |
| 48 | 48 |
| 49 // DOM Level 3 Core | 49 // DOM Level 3 Core |
| 50 | 50 |
| 51 [MeasureAs=DocumentInputEncoding] readonly attribute DOMString? inputEncodin
g; // Removed from DOM4. | 51 [MeasureAs=DocumentInputEncoding, ImplementedAs=characterSet] readonly attri
bute DOMString? inputEncoding; |
| 52 | 52 |
| 53 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; /
/ Removed from DOM4. | 53 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; /
/ Removed from DOM4. |
| 54 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; // Removed from DOM4. | 54 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; // Removed from DOM4. |
| 55 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. | 55 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. |
| 56 | 56 |
| 57 [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adopt
Node(Node node); | 57 [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adopt
Node(Node node); |
| 58 | 58 |
| 59 [ImplementedAs=url] readonly attribute DOMString? documentURI; | 59 [ImplementedAs=url] readonly attribute DOMString? documentURI; |
| 60 | 60 |
| 61 // DOM Level 2 Events (DocumentEvents interface) | 61 // DOM Level 2 Events (DocumentEvents interface) |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting | 206 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting |
| 207 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. | 207 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. |
| 208 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; | 208 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
| 209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
| 210 | 210 |
| 211 readonly attribute HTMLScriptElement currentScript; | 211 readonly attribute HTMLScriptElement currentScript; |
| 212 }; | 212 }; |
| 213 | 213 |
| 214 Document implements GlobalEventHandlers; | 214 Document implements GlobalEventHandlers; |
| 215 Document implements ParentNode; | 215 Document implements ParentNode; |
| OLD | NEW |