Open Bug 950304 Opened 11 years ago Updated 2 years ago

Move onresize to GlobalEventHandlers

Categories

(Core :: DOM: Events, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

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)
Huh, I'm surprised if firing resize on video doesn't cause regressions.
Flags: needinfo?(bugs)
But I guess we can try this.
I don't see any spec bug about resize, not recent discussion on whatwg mailing list.
Flags: needinfo?(ian)
(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)
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.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.