summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLBodyElement.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLBodyElement.idl')
-rw-r--r--Source/WebCore/html/HTMLBodyElement.idl53
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;