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 10 matching lines...) Expand all Loading... |
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 | 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; | |
32 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; | |
33 | |
34 // Extensions | 31 // Extensions |
35 | 32 |
36 [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollect
ion all; | 33 [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollect
ion all; |
37 | 34 |
38 [MeasureAs=DocumentClear] void clear(); | 35 [MeasureAs=DocumentClear] void clear(); |
39 | 36 |
40 [MeasureAs=DocumentCaptureEvents] void captureEvents(); | 37 [MeasureAs=DocumentCaptureEvents] void captureEvents(); |
41 [MeasureAs=DocumentReleaseEvents] void releaseEvents(); | 38 [MeasureAs=DocumentReleaseEvents] void releaseEvents(); |
42 | 39 |
43 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString designM
ode; | 40 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString designM
ode; |
44 readonly attribute DOMString compatMode; | 41 readonly attribute DOMString compatMode; |
45 | 42 |
46 // Deprecated attributes | 43 // Deprecated attributes |
47 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString bgColor
; | 44 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString bgColor
; |
48 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString fgColor
; | 45 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString fgColor
; |
49 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString alinkCo
lor; | 46 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString alinkCo
lor; |
50 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString linkCol
or; | 47 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString linkCol
or; |
51 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString vlinkCo
lor; | 48 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString vlinkCo
lor; |
52 }; | 49 }; |
53 | 50 |
OLD | NEW |