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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 // dynamic markup insertion | 110 // dynamic markup insertion |
111 // FIXME: open(), close(), write() and writeln() are on HTMLDocument. | 111 // FIXME: open(), close(), write() and writeln() are on HTMLDocument. |
112 | 112 |
113 // user interaction | 113 // user interaction |
114 [ImplementedAs=domWindow] readonly attribute Window? defaultView; | 114 [ImplementedAs=domWindow] readonly attribute Window? defaultView; |
115 readonly attribute Element? activeElement; | 115 readonly attribute Element? activeElement; |
116 boolean hasFocus(); | 116 boolean hasFocus(); |
117 // FIXME: designMode should not have [TreatNullAs=NullString]. | 117 // FIXME: designMode should not have [TreatNullAs=NullString]. |
118 [TreatNullAs=NullString, CustomElementCallbacks, MeasureAs=DocumentDesignMod
e] attribute DOMString designMode; | 118 [TreatNullAs=NullString, CustomElementCallbacks, MeasureAs=DocumentDesignMod
e] attribute DOMString designMode; |
119 [CustomElementCallbacks] boolean execCommand(DOMString commandId, optional b
oolean showUI = false, optional DOMString value = ""); | 119 [CustomElementCallbacks, RaisesException] boolean execCommand(DOMString comm
andId, optional boolean showUI = false, optional DOMString value = ""); |
120 boolean queryCommandEnabled(DOMString commandId); | 120 [RaisesException] boolean queryCommandEnabled(DOMString commandId); |
121 boolean queryCommandIndeterm(DOMString commandId); | 121 [RaisesException] boolean queryCommandIndeterm(DOMString commandId); |
122 boolean queryCommandState(DOMString commandId); | 122 [RaisesException] boolean queryCommandState(DOMString commandId); |
123 boolean queryCommandSupported(DOMString commandId); | 123 [RaisesException] boolean queryCommandSupported(DOMString commandId); |
124 DOMString queryCommandValue(DOMString commandId); | 124 [RaisesException] DOMString queryCommandValue(DOMString commandId); |
125 | 125 |
126 [LenientThis] attribute EventHandler onreadystatechange; | 126 [LenientThis] attribute EventHandler onreadystatechange; |
127 | 127 |
128 // HTML obsolete features | 128 // HTML obsolete features |
129 // https://html.spec.whatwg.org/#Document-partial | 129 // https://html.spec.whatwg.org/#Document-partial |
130 | 130 |
131 // FIXME: *Color are on HTMLDocument. | 131 // FIXME: *Color are on HTMLDocument. |
132 | 132 |
133 readonly attribute HTMLCollection anchors; | 133 readonly attribute HTMLCollection anchors; |
134 readonly attribute HTMLCollection applets; | 134 readonly attribute HTMLCollection applets; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 attribute EventHandler onsearch; | 218 attribute EventHandler onsearch; |
219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
220 attribute EventHandler onselectionchange; | 220 attribute EventHandler onselectionchange; |
221 attribute EventHandler onselectstart; | 221 attribute EventHandler onselectstart; |
222 attribute EventHandler onwheel; | 222 attribute EventHandler onwheel; |
223 }; | 223 }; |
224 | 224 |
225 Document implements GlobalEventHandlers; | 225 Document implements GlobalEventHandlers; |
226 Document implements ParentNode; | 226 Document implements ParentNode; |
227 Document implements NonElementParentNode; | 227 Document implements NonElementParentNode; |
OLD | NEW |