A triggered load bubbles up to window
|Reported by:||Boldewyn||Owned by:||dmethvin|
Consider this JSFiddle:
A function is bound via $(window).load(). Then the load event is triggered on an external resource element (in this case an image):
- Actual output:
The load event bubbles up from the image to the window object.
- Expected output:
The event should not bubble. Native load events on images, iframes, ... don't bubble to the parent window, too.