| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 [ImplementedAs=currentScriptForBinding] readonly attribute HTMLOrSVGScriptEl
ement? currentScript; | 112 [ImplementedAs=currentScriptForBinding] readonly attribute HTMLOrSVGScriptEl
ement? currentScript; |
| 113 | 113 |
| 114 // dynamic markup insertion | 114 // dynamic markup insertion |
| 115 // FIXME: There are two open() methods in the spec. | 115 // FIXME: There are two open() methods in the spec. |
| 116 [Custom, CEReactions, CustomElementCallbacks, RaisesException, MeasureAs=Doc
umentOpen] void open(); | 116 [Custom, CEReactions, CustomElementCallbacks, RaisesException, MeasureAs=Doc
umentOpen] void open(); |
| 117 [CEReactions, RaisesException] void close(); | 117 [CEReactions, RaisesException] void close(); |
| 118 [CallWith=EnteredWindow, CEReactions, CustomElementCallbacks, RaisesExceptio
n] void write(DOMString... text); | 118 [CallWith=EnteredWindow, CEReactions, CustomElementCallbacks, RaisesExceptio
n] void write(DOMString... text); |
| 119 [CallWith=EnteredWindow, CEReactions, CustomElementCallbacks, RaisesExceptio
n] void writeln(DOMString... text); | 119 [CallWith=EnteredWindow, CEReactions, CustomElementCallbacks, RaisesExceptio
n] void writeln(DOMString... text); |
| 120 | 120 |
| 121 // user interaction | 121 // user interaction |
| 122 readonly attribute Window? defaultView; | 122 [ImplementedAs=domWindow] readonly attribute Window? defaultView; |
| 123 boolean hasFocus(); | 123 boolean hasFocus(); |
| 124 [CEReactions, CustomElementCallbacks, MeasureAs=DocumentDesignMode] attribut
e DOMString designMode; | 124 [CEReactions, CustomElementCallbacks, MeasureAs=DocumentDesignMode] attribut
e DOMString designMode; |
| 125 [CEReactions, CustomElementCallbacks, RaisesException] boolean execCommand(D
OMString commandId, optional boolean showUI = false, optional DOMString value =
""); | 125 [CEReactions, CustomElementCallbacks, RaisesException] boolean execCommand(D
OMString commandId, optional boolean showUI = false, optional DOMString value =
""); |
| 126 [RaisesException] boolean queryCommandEnabled(DOMString commandId); | 126 [RaisesException] boolean queryCommandEnabled(DOMString commandId); |
| 127 [RaisesException] boolean queryCommandIndeterm(DOMString commandId); | 127 [RaisesException] boolean queryCommandIndeterm(DOMString commandId); |
| 128 [RaisesException] boolean queryCommandState(DOMString commandId); | 128 [RaisesException] boolean queryCommandState(DOMString commandId); |
| 129 [RaisesException] boolean queryCommandSupported(DOMString commandId); | 129 [RaisesException] boolean queryCommandSupported(DOMString commandId); |
| 130 [RaisesException] DOMString queryCommandValue(DOMString commandId); | 130 [RaisesException] DOMString queryCommandValue(DOMString commandId); |
| 131 | 131 |
| 132 [LenientThis] attribute EventHandler onreadystatechange; | 132 [LenientThis] attribute EventHandler onreadystatechange; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 209 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
| 210 attribute EventHandler onselectionchange; | 210 attribute EventHandler onselectionchange; |
| 211 attribute EventHandler onselectstart; | 211 attribute EventHandler onselectstart; |
| 212 attribute EventHandler onwheel; | 212 attribute EventHandler onwheel; |
| 213 }; | 213 }; |
| 214 | 214 |
| 215 Document implements GlobalEventHandlers; | 215 Document implements GlobalEventHandlers; |
| 216 Document implements ParentNode; | 216 Document implements ParentNode; |
| 217 Document implements NonElementParentNode; | 217 Document implements NonElementParentNode; |
| 218 Document implements DocumentOrShadowRoot; | 218 Document implements DocumentOrShadowRoot; |
| OLD | NEW |