Move onresize to GlobalEventHandlers




DOM: Events
4 years ago
3 years ago


(Reporter: bz, Unassigned)


Firefox Tracking Flags

(Not tracked)


It got moved in the spec, because <video> fires resize events now, apparently.  See

Olli, any objections?
Flags: needinfo?(bugs)

Comment 1

4 years ago
Huh, I'm surprised if firing resize on video doesn't cause regressions.
Flags: needinfo?(bugs)

Comment 2

4 years ago
But I guess we can try this.

Comment 3

4 years ago
I don't see any spec bug about resize, not recent discussion on whatwg mailing list.
Flags: needinfo?(ian)

Comment 4

4 years ago
(and the regressions I'm thinking about are similar to what happened when normal event dispatch was tried for load event. But that didn't work out and load is special now.)
I'm not following what the concern is. Can you elaborate?

The change was part of:
Flags: needinfo?(ian)

Comment 6

4 years ago
In the case of load event the world expected that load event listener added to window was 
for the page load. And yes, there were tons of pages using capturing listeners.
I wouldn't be surprised that if resize starts to fire for more event targets, we'll get
similar issues as with load event.
See Also: → bug 992685
You need to log in before you can comment on or make changes to this bug.