Move onresize to GlobalEventHandlers

NEW
Unassigned

Status

()

Core
DOM: Events
4 years ago
3 years ago

People

(Reporter: bz, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

It got moved in the spec, because <video> fires resize events now, apparently.  See http://html5.org/r/8354

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: http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Dec/0096.html
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.