| 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 12 matching lines...) Expand all Loading... |
| 23 typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; | 23 typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; |
| 24 | 24 |
| 25 [ | 25 [ |
| 26 Constructor(), | 26 Constructor(), |
| 27 ConstructorCallWith=Document, | 27 ConstructorCallWith=Document, |
| 28 ] interface Document : Node { | 28 ] interface Document : Node { |
| 29 readonly attribute Element documentElement; | 29 readonly attribute Element documentElement; |
| 30 | 30 |
| 31 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString tagName); | 31 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString tagName); |
| 32 DocumentFragment createDocumentFragment(); | 32 DocumentFragment createDocumentFragment(); |
| 33 Text createTextNode(DOMString data); | |
| 34 | 33 |
| 35 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor
tNode(Node node, optional boolean deep = false); | 34 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor
tNode(Node node, optional boolean deep = false); |
| 36 | 35 |
| 37 [PerWorldBindings] Element getElementById(DOMString elementId); | 36 [PerWorldBindings] Element getElementById(DOMString elementId); |
| 38 | 37 |
| 39 [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adopt
Node(Node node); | 38 [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adopt
Node(Node node); |
| 40 | 39 |
| 41 [RaisesException] Event createEvent(DOMString eventType); | 40 [RaisesException] Event createEvent(DOMString eventType); |
| 42 | 41 |
| 43 readonly attribute DOMString? baseURI; | 42 readonly attribute DOMString? baseURI; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); | 74 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); |
| 76 | 75 |
| 77 // Page visibility API. | 76 // Page visibility API. |
| 78 readonly attribute DOMString visibilityState; | 77 readonly attribute DOMString visibilityState; |
| 79 readonly attribute boolean hidden; | 78 readonly attribute boolean hidden; |
| 80 | 79 |
| 81 readonly attribute HTMLScriptElement currentScript; | 80 readonly attribute HTMLScriptElement currentScript; |
| 82 }; | 81 }; |
| 83 | 82 |
| 84 Document implements ParentNode; | 83 Document implements ParentNode; |
| OLD | NEW |