| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 [SameObject] readonly attribute HTMLCollection images; | 98 [SameObject] readonly attribute HTMLCollection images; |
| 99 [SameObject] readonly attribute HTMLCollection embeds; | 99 [SameObject] readonly attribute HTMLCollection embeds; |
| 100 [SameObject, ImplementedAs=embeds] readonly attribute HTMLCollection plugins
; | 100 [SameObject, ImplementedAs=embeds] readonly attribute HTMLCollection plugins
; |
| 101 [SameObject] readonly attribute HTMLCollection links; | 101 [SameObject] readonly attribute HTMLCollection links; |
| 102 [SameObject] readonly attribute HTMLCollection forms; | 102 [SameObject] readonly attribute HTMLCollection forms; |
| 103 [SameObject] readonly attribute HTMLCollection scripts; | 103 [SameObject] readonly attribute HTMLCollection scripts; |
| 104 [PerWorldBindings] NodeList getElementsByName(DOMString elementName); | 104 [PerWorldBindings] NodeList getElementsByName(DOMString elementName); |
| 105 readonly attribute HTMLScriptElement? currentScript; | 105 readonly attribute HTMLScriptElement? currentScript; |
| 106 | 106 |
| 107 // dynamic markup insertion | 107 // dynamic markup insertion |
| 108 // FIXME: open(), close(), write() and writeln() are on HTMLDocument. | 108 // FIXME: There are two open() methods in the spec. |
| 109 [Custom, CustomElementCallbacks, RaisesException] void open(); |
| 110 [RaisesException] void close(); |
| 111 [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void write(
DOMString... text); |
| 112 [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void writel
n(DOMString... text); |
| 109 | 113 |
| 110 // user interaction | 114 // user interaction |
| 111 [ImplementedAs=domWindow] readonly attribute Window? defaultView; | 115 [ImplementedAs=domWindow] readonly attribute Window? defaultView; |
| 112 readonly attribute Element? activeElement; | 116 readonly attribute Element? activeElement; |
| 113 boolean hasFocus(); | 117 boolean hasFocus(); |
| 114 // FIXME: designMode should not have [TreatNullAs=NullString]. | 118 // FIXME: designMode should not have [TreatNullAs=NullString]. |
| 115 [TreatNullAs=NullString, CustomElementCallbacks, MeasureAs=DocumentDesignMod
e] attribute DOMString designMode; | 119 [TreatNullAs=NullString, CustomElementCallbacks, MeasureAs=DocumentDesignMod
e] attribute DOMString designMode; |
| 116 [CustomElementCallbacks, RaisesException] boolean execCommand(DOMString comm
andId, optional boolean showUI = false, optional DOMString value = ""); | 120 [CustomElementCallbacks, RaisesException] boolean execCommand(DOMString comm
andId, optional boolean showUI = false, optional DOMString value = ""); |
| 117 [RaisesException] boolean queryCommandEnabled(DOMString commandId); | 121 [RaisesException] boolean queryCommandEnabled(DOMString commandId); |
| 118 [RaisesException] boolean queryCommandIndeterm(DOMString commandId); | 122 [RaisesException] boolean queryCommandIndeterm(DOMString commandId); |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 attribute EventHandler onsearch; | 219 attribute EventHandler onsearch; |
| 216 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 220 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
| 217 attribute EventHandler onselectionchange; | 221 attribute EventHandler onselectionchange; |
| 218 attribute EventHandler onselectstart; | 222 attribute EventHandler onselectstart; |
| 219 attribute EventHandler onwheel; | 223 attribute EventHandler onwheel; |
| 220 }; | 224 }; |
| 221 | 225 |
| 222 Document implements GlobalEventHandlers; | 226 Document implements GlobalEventHandlers; |
| 223 Document implements ParentNode; | 227 Document implements ParentNode; |
| 224 Document implements NonElementParentNode; | 228 Document implements NonElementParentNode; |
| OLD | NEW |