From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/HTMLDocument.idl | 42 +++++++++++------------------------- 1 file changed, 13 insertions(+), 29 deletions(-) (limited to 'Source/WebCore/html/HTMLDocument.idl') 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; }; - -- cgit v1.2.1