| 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 interface HTMLDocument : Document { |
| 22 CustomToV8 | 22 [Custom, CustomElementCallbacks] void open(); |
| 23 ] interface HTMLDocument : Document { | |
| 24 [Custom, CustomElementCallbacks=Enable] void open(); | |
| 25 void close(); | 23 void close(); |
| 26 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, CustomElemen
tCallbacks=Enable] void write([Default=Undefined] optional DOMString text); | 24 [Custom, PerWorldBindings, ActivityLogging=AccessForIsolatedWorlds, CustomEl
ementCallbacks] void write([Default=Undefined] optional DOMString text); |
| 27 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, CustomElemen
tCallbacks=Enable] void writeln([Default=Undefined] optional DOMString text); | 25 [Custom, PerWorldBindings, ActivityLogging=AccessForIsolatedWorlds, CustomEl
ementCallbacks] void writeln([Default=Undefined] optional DOMString text); |
| 28 | 26 |
| 29 readonly attribute HTMLCollection embeds; | 27 readonly attribute HTMLCollection embeds; |
| 30 readonly attribute HTMLCollection plugins; | 28 readonly attribute HTMLCollection plugins; |
| 31 readonly attribute HTMLCollection scripts; | 29 readonly attribute HTMLCollection scripts; |
| 32 | 30 |
| 33 // Extensions | 31 // Extensions |
| 34 | 32 |
| 35 [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollect
ion all; | 33 [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollect
ion all; |
| 36 | 34 |
| 37 [DeprecateAs=DocumentClear] void clear(); | 35 [DeprecateAs=DocumentClear] void clear(); |
| 38 | 36 |
| 39 [DeprecateAs=CaptureEvents] void captureEvents(); | 37 [DeprecateAs=CaptureEvents] void captureEvents(); |
| 40 [DeprecateAs=ReleaseEvents] void releaseEvents(); | 38 [DeprecateAs=ReleaseEvents] void releaseEvents(); |
| 41 | 39 |
| 42 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
dir; | 40 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString dir; |
| 43 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
designMode; | 41 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString designM
ode; |
| 44 readonly attribute DOMString compatMode; | 42 readonly attribute DOMString compatMode; |
| 45 | 43 |
| 46 readonly attribute Element activeElement; | 44 readonly attribute Element activeElement; |
| 47 boolean hasFocus(); | 45 boolean hasFocus(); |
| 48 | 46 |
| 49 // Deprecated attributes | 47 // Deprecated attributes |
| 50 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
bgColor; | 48 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString bgColor
; |
| 51 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
fgColor; | 49 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString fgColor
; |
| 52 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
alinkColor; | 50 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString alinkCo
lor; |
| 53 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
linkColor; | 51 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString linkCol
or; |
| 54 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString
vlinkColor; | 52 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString vlinkCo
lor; |
| 55 }; | 53 }; |
| 56 | 54 |
| OLD | NEW |