| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 [ | 21 [ |
| 22 CustomToV8 | 22 CustomToV8 |
| 23 ] interface HTMLDocument : Document { | 23 ] interface HTMLDocument : Document { |
| 24 [Custom] void open(); | 24 [Custom, CustomElementCallbacks=Enable] void open(); |
| 25 void close(); | 25 void close(); |
| 26 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds] void write([
Default=Undefined] optional DOMString text); | 26 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, CustomElemen
tCallbacks=Enable] void write([Default=Undefined] optional DOMString text); |
| 27 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds] void writeln
([Default=Undefined] optional DOMString text); | 27 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, CustomElemen
tCallbacks=Enable] void writeln([Default=Undefined] optional DOMString text); |
| 28 | 28 |
| 29 readonly attribute HTMLCollection embeds; | 29 readonly attribute HTMLCollection embeds; |
| 30 readonly attribute HTMLCollection plugins; | 30 readonly attribute HTMLCollection plugins; |
| 31 readonly attribute HTMLCollection scripts; | 31 readonly attribute HTMLCollection scripts; |
| 32 | 32 |
| 33 // Extensions | 33 // Extensions |
| 34 | 34 |
| 35 [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollect
ion all; | 35 [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollect
ion all; |
| 36 | 36 |
| 37 [DeprecateAs=DocumentClear] void clear(); | 37 [DeprecateAs=DocumentClear] void clear(); |
| 38 | 38 |
| 39 [TreatNullAs=NullString] attribute DOMString dir; | 39 [DeprecateAs=CaptureEvents] void captureEvents(); |
| 40 [TreatNullAs=NullString] attribute DOMString designMode; | 40 [DeprecateAs=ReleaseEvents] void releaseEvents(); |
| 41 |
| 42 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
dir; |
| 43 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
designMode; |
| 41 readonly attribute DOMString compatMode; | 44 readonly attribute DOMString compatMode; |
| 42 | 45 |
| 43 readonly attribute Element activeElement; | 46 readonly attribute Element activeElement; |
| 44 boolean hasFocus(); | 47 boolean hasFocus(); |
| 45 | 48 |
| 46 // Deprecated attributes | 49 // Deprecated attributes |
| 47 [TreatNullAs=NullString] attribute DOMString bgColor; | 50 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
bgColor; |
| 48 [TreatNullAs=NullString] attribute DOMString fgColor; | 51 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
fgColor; |
| 49 [TreatNullAs=NullString] attribute DOMString alinkColor; | 52 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
alinkColor; |
| 50 [TreatNullAs=NullString] attribute DOMString linkColor; | 53 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
linkColor; |
| 51 [TreatNullAs=NullString] attribute DOMString vlinkColor; | 54 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
vlinkColor; |
| 52 }; | 55 }; |
| 53 | 56 |
| OLD | NEW |