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/HTMLBodyElement.idl | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/html/HTMLBodyElement.idl')
-rw-r--r-- | Source/WebCore/html/HTMLBodyElement.idl | 53 |
1 files changed, 24 insertions, 29 deletions
diff --git a/Source/WebCore/html/HTMLBodyElement.idl b/Source/WebCore/html/HTMLBodyElement.idl index a07e7e7f3..044c6ecf3 100644 --- a/Source/WebCore/html/HTMLBodyElement.idl +++ b/Source/WebCore/html/HTMLBodyElement.idl @@ -19,38 +19,33 @@ */ interface HTMLBodyElement : HTMLElement { - [Reflect] attribute DOMString aLink; + [Reflect, TreatNullAs=EmptyString] attribute DOMString aLink; [Reflect] attribute DOMString background; - [Reflect] attribute DOMString bgColor; - [Reflect] attribute DOMString link; - [Reflect] attribute DOMString text; - [Reflect] attribute DOMString vLink; + [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor; + [Reflect, TreatNullAs=EmptyString] attribute DOMString link; + [Reflect, TreatNullAs=EmptyString] attribute DOMString text; + [Reflect, TreatNullAs=EmptyString] attribute DOMString vLink; -#if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C - // Event handler attributes - [NotEnumerable, JSWindowEventListener] attribute EventListener onbeforeunload; - [NotEnumerable, JSWindowEventListener] attribute EventListener onhashchange; - [NotEnumerable, JSWindowEventListener] attribute EventListener onmessage; - [NotEnumerable, JSWindowEventListener] attribute EventListener onoffline; - [NotEnumerable, JSWindowEventListener] attribute EventListener ononline; - [NotEnumerable, JSWindowEventListener] attribute EventListener onpopstate; - [NotEnumerable, JSWindowEventListener] attribute EventListener onresize; - [NotEnumerable, JSWindowEventListener] attribute EventListener onstorage; - [NotEnumerable, JSWindowEventListener] attribute EventListener onunload; + [NotEnumerable, WindowEventHandler] attribute EventHandler onblur; + [NotEnumerable, WindowEventHandler] attribute EventHandler onerror; + [NotEnumerable, WindowEventHandler] attribute EventHandler onfocus; + [NotEnumerable, WindowEventHandler] attribute EventHandler onfocusin; + [NotEnumerable, WindowEventHandler] attribute EventHandler onfocusout; + [NotEnumerable, WindowEventHandler] attribute EventHandler onload; + [NotEnumerable, WindowEventHandler] attribute EventHandler onresize; + [NotEnumerable, WindowEventHandler] attribute EventHandler onscroll; - [Conditional=ORIENTATION_EVENTS, NotEnumerable, JSWindowEventListener] attribute EventListener onorientationchange; + [NotEnumerable, WindowEventHandler, Conditional=MOUSE_FORCE_EVENTS] attribute EventHandler onwebkitmouseforcechanged; + [NotEnumerable, WindowEventHandler, Conditional=MOUSE_FORCE_EVENTS] attribute EventHandler onwebkitmouseforcedown; + [NotEnumerable, WindowEventHandler, Conditional=MOUSE_FORCE_EVENTS] attribute EventHandler onwebkitmouseforcewillbegin; + [NotEnumerable, WindowEventHandler, Conditional=MOUSE_FORCE_EVENTS] attribute EventHandler onwebkitmouseforceup; + [NotEnumerable, WindowEventHandler, Conditional=WILL_REVEAL_EDGE_EVENTS] attribute EventHandler onwebkitwillrevealbottom; + [NotEnumerable, WindowEventHandler, Conditional=WILL_REVEAL_EDGE_EVENTS] attribute EventHandler onwebkitwillrevealleft; + [NotEnumerable, WindowEventHandler, Conditional=WILL_REVEAL_EDGE_EVENTS] attribute EventHandler onwebkitwillrevealright; + [NotEnumerable, WindowEventHandler, Conditional=WILL_REVEAL_EDGE_EVENTS] attribute EventHandler onwebkitwillrevealtop; - // Overrides of Element attributes (with different implementation in bindings). - [NotEnumerable, JSWindowEventListener] attribute EventListener onblur; - [NotEnumerable, JSWindowEventListener] attribute EventListener onerror; - [NotEnumerable, JSWindowEventListener] attribute EventListener onfocus; - [NotEnumerable, JSWindowEventListener] attribute EventListener onload; - - // Not implemented yet. - // [NotEnumerable, JSWindowEventListener] attribute EventListener onafterprint; - // [NotEnumerable, JSWindowEventListener] attribute EventListener onbeforeprint; - // [NotEnumerable, JSWindowEventListener] attribute EventListener onredo; - // [NotEnumerable, JSWindowEventListener] attribute EventListener onundo; -#endif + // Unique to Document and HTMLBodyElement + [NotEnumerable, DocumentEventHandler] attribute EventHandler onselectionchange; }; +HTMLBodyElement implements WindowEventHandlers; |