| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 // FIXME: There are two open() methods in the spec. | 113 // FIXME: There are two open() methods in the spec. |
| 114 [Custom, CustomElementCallbacks, RaisesException] void open(); | 114 [Custom, CustomElementCallbacks, RaisesException] void open(); |
| 115 [RaisesException] void close(); | 115 [RaisesException] void close(); |
| 116 [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void write(
DOMString... text); | 116 [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void write(
DOMString... text); |
| 117 [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void writel
n(DOMString... text); | 117 [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void writel
n(DOMString... text); |
| 118 | 118 |
| 119 // user interaction | 119 // user interaction |
| 120 [ImplementedAs=domWindow] readonly attribute Window? defaultView; | 120 [ImplementedAs=domWindow] readonly attribute Window? defaultView; |
| 121 readonly attribute Element? activeElement; | 121 readonly attribute Element? activeElement; |
| 122 boolean hasFocus(); | 122 boolean hasFocus(); |
| 123 // FIXME: designMode should not have [TreatNullAs=NullString]. | 123 [CustomElementCallbacks, MeasureAs=DocumentDesignMode] attribute DOMString d
esignMode; |
| 124 [TreatNullAs=NullString, CustomElementCallbacks, MeasureAs=DocumentDesignMod
e] attribute DOMString designMode; | |
| 125 [CustomElementCallbacks, RaisesException] boolean execCommand(DOMString comm
andId, optional boolean showUI = false, optional DOMString value = ""); | 124 [CustomElementCallbacks, RaisesException] boolean execCommand(DOMString comm
andId, optional boolean showUI = false, optional DOMString value = ""); |
| 126 [RaisesException] boolean queryCommandEnabled(DOMString commandId); | 125 [RaisesException] boolean queryCommandEnabled(DOMString commandId); |
| 127 [RaisesException] boolean queryCommandIndeterm(DOMString commandId); | 126 [RaisesException] boolean queryCommandIndeterm(DOMString commandId); |
| 128 [RaisesException] boolean queryCommandState(DOMString commandId); | 127 [RaisesException] boolean queryCommandState(DOMString commandId); |
| 129 [RaisesException] boolean queryCommandSupported(DOMString commandId); | 128 [RaisesException] boolean queryCommandSupported(DOMString commandId); |
| 130 [RaisesException] DOMString queryCommandValue(DOMString commandId); | 129 [RaisesException] DOMString queryCommandValue(DOMString commandId); |
| 131 | 130 |
| 132 [LenientThis] attribute EventHandler onreadystatechange; | 131 [LenientThis] attribute EventHandler onreadystatechange; |
| 133 | 132 |
| 134 // HTML obsolete features | 133 // HTML obsolete features |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 attribute EventHandler onsearch; | 222 attribute EventHandler onsearch; |
| 224 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 223 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
| 225 attribute EventHandler onselectionchange; | 224 attribute EventHandler onselectionchange; |
| 226 attribute EventHandler onselectstart; | 225 attribute EventHandler onselectstart; |
| 227 attribute EventHandler onwheel; | 226 attribute EventHandler onwheel; |
| 228 }; | 227 }; |
| 229 | 228 |
| 230 Document implements GlobalEventHandlers; | 229 Document implements GlobalEventHandlers; |
| 231 Document implements ParentNode; | 230 Document implements ParentNode; |
| 232 Document implements NonElementParentNode; | 231 Document implements NonElementParentNode; |
| OLD | NEW |