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