diff options
Diffstat (limited to 'Source/WebCore/html/HTMLDocument.idl')
-rw-r--r-- | Source/WebCore/html/HTMLDocument.idl | 42 |
1 files changed, 13 insertions, 29 deletions
diff --git a/Source/WebCore/html/HTMLDocument.idl b/Source/WebCore/html/HTMLDocument.idl index 5e889ec22..21aa2340d 100644 --- a/Source/WebCore/html/HTMLDocument.idl +++ b/Source/WebCore/html/HTMLDocument.idl @@ -19,44 +19,28 @@ */ [ + CustomGetOwnPropertySlot, CustomNamedGetter, + CustomToJSObject, NewImpurePropertyFiresWatchpoints, + OverrideBuiltins, ] interface HTMLDocument : Document { - [Custom] void open(); + [CEReactions, Custom, ForwardDeclareInHeader] void open(); void close(); - [Custom] void write([Default=Undefined] optional DOMString text); - [Custom] void writeln([Default=Undefined] optional DOMString text); + [CEReactions, Custom] void write(optional DOMString text); + [CEReactions, Custom] void writeln(optional DOMString text); - readonly attribute HTMLCollection embeds; - readonly attribute HTMLCollection plugins; - readonly attribute HTMLCollection scripts; - - // Extensions - -#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT - // FIXME: This should eventually be available (if they are wanted) for all languages. - [Custom, Replaceable, Deletable] readonly attribute HTMLAllCollection all; -#endif + [Custom, Replaceable] readonly attribute HTMLAllCollection all; void clear(); void captureEvents(); void releaseEvents(); - readonly attribute long width; - readonly attribute long height; - [TreatNullAs=NullString] attribute DOMString dir; - [TreatNullAs=NullString] attribute DOMString designMode; - readonly attribute DOMString compatMode; - - readonly attribute Element activeElement; - boolean hasFocus(); - - // Deprecated attributes - [TreatNullAs=NullString] attribute DOMString bgColor; - [TreatNullAs=NullString] attribute DOMString fgColor; - [TreatNullAs=NullString] attribute DOMString alinkColor; - [TreatNullAs=NullString] attribute DOMString linkColor; - [TreatNullAs=NullString] attribute DOMString vlinkColor; + // Deprecated attributes. + [TreatNullAs=EmptyString] attribute DOMString bgColor; + [TreatNullAs=EmptyString] attribute DOMString fgColor; + [TreatNullAs=EmptyString] attribute DOMString alinkColor; + [TreatNullAs=EmptyString] attribute DOMString linkColor; + [TreatNullAs=EmptyString] attribute DOMString vlinkColor; }; - |