diff --git a/dom/events/EventNameList.h b/dom/events/EventNameList.h index 40c012471b9c..2dfb979c1132 100644 --- a/dom/events/EventNameList.h +++ b/dom/events/EventNameList.h @@ -458,6 +458,10 @@ FORWARDED_EVENT(load, NS_LOAD, EventNameType_All, eBasicEventClass) +FORWARDED_EVENT(resize, + NS_RESIZE_EVENT, + EventNameType_All, + eBasicEventClass) FORWARDED_EVENT(scroll, NS_SCROLL_EVENT, (EventNameType_HTMLXUL | EventNameType_SVGSVG), @@ -512,11 +516,6 @@ WINDOW_EVENT(popstate, eBasicEventClass) // Not supported yet // WINDOW_EVENT(redo) -WINDOW_EVENT(resize, - NS_RESIZE_EVENT, - (EventNameType_XUL | EventNameType_SVGSVG | - EventNameType_HTMLBodyOrFramesetOnly), - eBasicEventClass) // Not supported yet // WINDOW_EVENT(storage) // Not supported yet diff --git a/dom/webidl/EventHandler.webidl b/dom/webidl/EventHandler.webidl index 5ad29bec157f..f3741468f642 100644 --- a/dom/webidl/EventHandler.webidl +++ b/dom/webidl/EventHandler.webidl @@ -75,6 +75,7 @@ interface GlobalEventHandlers { attribute EventHandler onprogress; attribute EventHandler onratechange; attribute EventHandler onreset; + attribute EventHandler onresize; attribute EventHandler onscroll; attribute EventHandler onseeked; attribute EventHandler onseeking; @@ -130,7 +131,6 @@ interface WindowEventHandlers { attribute EventHandler onpagehide; attribute EventHandler onpageshow; attribute EventHandler onpopstate; - attribute EventHandler onresize; //(Not implemented)attribute EventHandler onstorage; attribute EventHandler onunload; };