| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 readonly attribute HTMLScriptElement? currentScript; | 108 readonly attribute HTMLScriptElement? currentScript; |
| 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] attribute DOMString designM
ode; | 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] boolean execCommand(DOMString commandId, optional b
oolean showUI = false, optional DOMString value = ""); |
| 120 boolean queryCommandEnabled(DOMString commandId); | 120 boolean queryCommandEnabled(DOMString commandId); |
| 121 boolean queryCommandIndeterm(DOMString commandId); | 121 boolean queryCommandIndeterm(DOMString commandId); |
| 122 boolean queryCommandState(DOMString commandId); | 122 boolean queryCommandState(DOMString commandId); |
| 123 boolean queryCommandSupported(DOMString commandId); | 123 boolean queryCommandSupported(DOMString commandId); |
| 124 DOMString queryCommandValue(DOMString commandId); | 124 DOMString queryCommandValue(DOMString commandId); |
| 125 | 125 |
| 126 // special event handler IDL attributes that only apply to Document objects | 126 // special event handler IDL attributes that only apply to Document objects |
| 127 // FIXME: onreadystatechange should use [LenientThis]. | 127 // FIXME: onreadystatechange should use [LenientThis]. |
| 128 attribute EventHandler onreadystatechange; | 128 attribute EventHandler onreadystatechange; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 attribute EventHandler onsearch; | 219 attribute EventHandler onsearch; |
| 220 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 220 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
| 221 attribute EventHandler onselectionchange; | 221 attribute EventHandler onselectionchange; |
| 222 attribute EventHandler onselectstart; | 222 attribute EventHandler onselectstart; |
| 223 attribute EventHandler onwheel; | 223 attribute EventHandler onwheel; |
| 224 }; | 224 }; |
| 225 | 225 |
| 226 Document implements GlobalEventHandlers; | 226 Document implements GlobalEventHandlers; |
| 227 Document implements ParentNode; | 227 Document implements ParentNode; |
| 228 Document implements NonElementParentNode; | 228 Document implements NonElementParentNode; |
| OLD | NEW |