зеркало из https://github.com/mozilla/gecko-dev.git
Bug 992685 - Part 1. Make onresize event handler global and forwarded. r=smaug
This commit is contained in:
Родитель
5c1754eb7a
Коммит
77ec90c5a5
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче