| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 // DOM Level 1 Core | 30 // DOM Level 1 Core |
| 31 readonly attribute DocumentType doctype; | 31 readonly attribute DocumentType doctype; |
| 32 readonly attribute DOMImplementation implementation; | 32 readonly attribute DOMImplementation implementation; |
| 33 readonly attribute Element documentElement; | 33 readonly attribute Element documentElement; |
| 34 | 34 |
| 35 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString tagName); | 35 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString tagName); |
| 36 DocumentFragment createDocumentFragment(); | 36 DocumentFragment createDocumentFragment(); |
| 37 Text createTextNode(DOMString data); | 37 Text createTextNode(DOMString data); |
| 38 Comment createComment(DOMString data); | 38 Comment createComment(DOMString data); |
| 39 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection(DOMString data); // Removed from DOM4. | |
| 40 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); | 39 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); |
| 41 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute(DO
MString name); | 40 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute(DO
MString name); |
| 42 HTMLCollection getElementsByTagName(DOMString localName); | 41 HTMLCollection getElementsByTagName(DOMString localName); |
| 43 | 42 |
| 44 // Introduced in DOM Level 2: | 43 // Introduced in DOM Level 2: |
| 45 | 44 |
| 46 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor
tNode(Node node, optional boolean deep = false); | 45 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor
tNode(Node node, optional boolean deep = false); |
| 47 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName); | 46 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName); |
| 48 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN
S(DOMString? namespaceURI, DOMString? qualifiedName); | 47 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN
S(DOMString? namespaceURI, DOMString? qualifiedName); |
| 49 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); | 48 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); |
| (...skipping 156 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 | 205 // 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. | 206 // 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; | 207 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
| 209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 208 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
| 210 | 209 |
| 211 readonly attribute HTMLScriptElement currentScript; | 210 readonly attribute HTMLScriptElement currentScript; |
| 212 }; | 211 }; |
| 213 | 212 |
| 214 Document implements GlobalEventHandlers; | 213 Document implements GlobalEventHandlers; |
| 215 Document implements ParentNode; | 214 Document implements ParentNode; |
| OLD | NEW |