| 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 17 matching lines...) Expand all Loading... |
| 28 readonly attribute DocumentType doctype; | 28 readonly attribute DocumentType doctype; |
| 29 readonly attribute DOMImplementation implementation; | 29 readonly attribute DOMImplementation implementation; |
| 30 readonly attribute Element documentElement; | 30 readonly attribute Element documentElement; |
| 31 | 31 |
| 32 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString tagName); | 32 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString tagName); |
| 33 DocumentFragment createDocumentFragment(); | 33 DocumentFragment createDocumentFragment(); |
| 34 Text createTextNode(DOMString data); | 34 Text createTextNode(DOMString data); |
| 35 Comment createComment(DOMString data); | 35 Comment createComment(DOMString data); |
| 36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. | 36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. |
| 37 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); | 37 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); |
| 38 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); // Removed from DOM4. | 38 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); |
| 39 HTMLCollection getElementsByTagName(DOMString localName); | 39 HTMLCollection getElementsByTagName(DOMString localName); |
| 40 | 40 |
| 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, DeprecateAs=DocumentCreateAttributeNS] Attr createAttribut
eNS([Default=Undefined] optional DOMString? namespaceURI, | 45 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN
S([Default=Undefined] optional DOMString? namespaceURI, |
| 46
[Default=Undefined] optional DOMString? qualifiedName); // Removed from DOM4
. | 46
[Default=Undefined] optional DOMString? qualifiedName); |
| 47 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); | 47 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); |
| 48 [PerWorldBindings] Element getElementById(DOMString elementId); | 48 [PerWorldBindings] Element getElementById(DOMString elementId); |
| 49 | 49 |
| 50 // DOM Level 3 Core | 50 // DOM Level 3 Core |
| 51 | 51 |
| 52 [MeasureAs=DocumentInputEncoding] readonly attribute DOMString? inputEncodin
g; // Removed from DOM4. | 52 [MeasureAs=DocumentInputEncoding] readonly attribute DOMString? inputEncodin
g; // Removed from DOM4. |
| 53 | 53 |
| 54 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; /
/ Removed from DOM4. | 54 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; /
/ Removed from DOM4. |
| 55 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; // Removed from DOM4. | 55 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; // Removed from DOM4. |
| 56 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. | 56 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting | 208 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting |
| 209 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. | 209 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. |
| 210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; | 210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
| 211 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 211 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
| 212 | 212 |
| 213 readonly attribute HTMLScriptElement currentScript; | 213 readonly attribute HTMLScriptElement currentScript; |
| 214 }; | 214 }; |
| 215 | 215 |
| 216 Document implements GlobalEventHandlers; | 216 Document implements GlobalEventHandlers; |
| 217 Document implements ParentNode; | 217 Document implements ParentNode; |
| OLD | NEW |