diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLDocument.idl | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
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; }; - |