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.
Change History (2)
comment:1 Changed 4 years ago by dmethvin
- Component changed from unfiled to event
- Milestone changed from None to 1.7.1
- Owner set to dmethvin
- Priority changed from undecided to low
- Status changed from new to assigned