| 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, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 void close(); | 23 void close(); |
| 24 | 24 |
| 25 // We support multiple DOMString arguments to match FF / IE, e.g.: | 25 // We support multiple DOMString arguments to match FF / IE, e.g.: |
| 26 // document.write("a", "b", "c") --> document.write("abc") | 26 // document.write("a", "b", "c") --> document.write("abc") |
| 27 // document.write() --> document.write("") | 27 // document.write() --> document.write("") |
| 28 [CallWith=ActiveWindow, PerWorldBindings, ActivityLogging=ForIsolatedWorlds,
CustomElementCallbacks] void write(DOMString... text); | 28 [CallWith=ActiveWindow, PerWorldBindings, ActivityLogging=ForIsolatedWorlds,
CustomElementCallbacks] void write(DOMString... text); |
| 29 [CallWith=ActiveWindow, PerWorldBindings, ActivityLogging=ForIsolatedWorlds,
CustomElementCallbacks] void writeln(DOMString... text); | 29 [CallWith=ActiveWindow, PerWorldBindings, ActivityLogging=ForIsolatedWorlds,
CustomElementCallbacks] void writeln(DOMString... text); |
| 30 | 30 |
| 31 readonly attribute HTMLCollection embeds; | 31 readonly attribute HTMLCollection embeds; |
| 32 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; | 32 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; |
| 33 readonly attribute HTMLCollection scripts; | |
| 34 | 33 |
| 35 // Extensions | 34 // Extensions |
| 36 | 35 |
| 37 [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollect
ion all; | 36 [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollect
ion all; |
| 38 | 37 |
| 39 [MeasureAs=DocumentClear] void clear(); | 38 [MeasureAs=DocumentClear] void clear(); |
| 40 | 39 |
| 41 [MeasureAs=DocumentCaptureEvents] void captureEvents(); | 40 [MeasureAs=DocumentCaptureEvents] void captureEvents(); |
| 42 [MeasureAs=DocumentReleaseEvents] void releaseEvents(); | 41 [MeasureAs=DocumentReleaseEvents] void releaseEvents(); |
| 43 | 42 |
| 44 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString dir; | 43 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString dir; |
| 45 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString designM
ode; | 44 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString designM
ode; |
| 46 readonly attribute DOMString compatMode; | 45 readonly attribute DOMString compatMode; |
| 47 | 46 |
| 48 // Deprecated attributes | 47 // Deprecated attributes |
| 49 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString bgColor
; | 48 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString bgColor
; |
| 50 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString fgColor
; | 49 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString fgColor
; |
| 51 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString alinkCo
lor; | 50 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString alinkCo
lor; |
| 52 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString linkCol
or; | 51 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString linkCol
or; |
| 53 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString vlinkCo
lor; | 52 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString vlinkCo
lor; |
| 54 }; | 53 }; |
| 55 | 54 |
| OLD | NEW |