Bug 992685 - Part 1. Make onresize event handler global and forwarded. r=smaug

This commit is contained in:
Andreas Pehrson 2014-12-04 17:26:00 +01:00
parent 8cd5047df1
commit d087e6b210
2 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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;
};