Closed
Bug 62288
Opened 24 years ago
Closed 22 years ago
No onload events after first load of image
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Core
DOM: UI Events & Focus Handling
Tracking
()
VERIFIED
WORKSFORME
mozilla1.1alpha
People
(Reporter: mackenna, Assigned: joki)
References
()
Details
It seems that none of Mozilla 0.6, nor M18, nor Netscape 6.0, report an onload event for the loading of an Image object, nor for subsequent reassignments of the src property of an image that's defined as part of a web page's HTML. This differs from the behavior of NS 3, NS 4, IE 4, and IE 5. The workarounds that we use in our main front page, http://www.animalhead.com/index.html, are commented out in the cited "oldindex" page.
Comment 1•24 years ago
|
||
Browser, not engine. Reassigning to Event Handling component -
Assignee: rogerl → joki
Component: Javascript Engine → Event Handling
QA Contact: pschwartau → lorca
Comment 2•24 years ago
|
||
I have reproduced part of this bug. I refute that <object> tags fail onLoad and I support that REloading of <img> tags fail. I have made a minimal test case at http://www.dartmouth.edu/~nrrinard/dev/moz/moz_bug_62288_test.html This is using Mozilla .6 for the Mac under OS 9.0.4 on a Rev. A iMac.
Comment 3•24 years ago
|
||
Worksforme Platform: PC OS: Linux 2.2.16 Mozilla Build: 2000121908 M18 Trunk Build.
Comment 4•24 years ago
|
||
I can reproduce the reduced testcase on Linux 2000133618 (CVS build).
Comment 5•24 years ago
|
||
After talking on #mozillazine some people are still seeing this. Marking as NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 6•24 years ago
|
||
Reassigning QA Contact for all open and unverified bugs previously under Lorca's care to Gerardo as per phone conversation this morning.
QA Contact: lorca → gerardok
Assignee | ||
Comment 7•24 years ago
|
||
Setting milestone
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
Assignee | ||
Comment 9•24 years ago
|
||
Time constraints on crashing bugs forcing this to 0.9.1
Target Milestone: mozilla0.9 → mozilla0.9.1
Comment 10•24 years ago
|
||
Verified with Windows-NT4
Assignee | ||
Updated•23 years ago
|
OS: Mac System 9.x → All
Hardware: Macintosh → All
Comment 11•23 years ago
|
||
moving to TM of 0.9.2 per PDT triage (you can check it into 0.9.1 until Friday, 18/May/01 or into 0.9.2 after the tree opens)
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Comment 13•23 years ago
|
||
Apologies if this is already known, but it is not apparent from the comments so far. The problem is that when an image is available in Mozilla's memory cache, it does not trigger an onload event upon its retrieval. It therefore affects any image that has been seen before in the current browser session.
Assignee | ||
Comment 14•23 years ago
|
||
Moving lower priority bugs out of .9.2 milestone.
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 15•23 years ago
|
||
*** Bug 90040 has been marked as a duplicate of this bug. ***
Comment 16•23 years ago
|
||
Bug 74993 may be related.
Comment 17•23 years ago
|
||
Doesn't look like this is getting fixed before the freeze tomorrow night. Pushing out a milestone. Please correct if I'm mistaken.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Comment 18•23 years ago
|
||
*** Bug 74993 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 19•23 years ago
|
||
The 8/22/01 build shows progress on this problem. But the subject URL still does not run as on other browsers. Please keep up the good work!
Comment 21•23 years ago
|
||
An easier to follow demonstration of this bug can be found on: http://www.numion.com/opera/
Comment 23•23 years ago
|
||
Easy workaround for this bug: 1. Enclose IMG element in SPAN <span id="workaround"><img src=(...)></span> 2. After changing SRC attribute do this: spanobj=document.getElementById('workaround'); spanobj.innerHTML=spanobj.innerHTML; It works for me, tested on Mozilla build 2001101117 and Netscape 6.2, on Win2000
Assignee | ||
Comment 24•23 years ago
|
||
0.9.6 has passed, moving to 0.9.7. Load balancing 0.9.7 list shortly
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Comment 25•23 years ago
|
||
The workaround reported by Piotr Pawlow works for me as well, but makes the browser insufferably slow. I have decided not to use the workaround in the speedtest on www.numion.com, and wait for a proper bugfix.
Comment 26•23 years ago
|
||
*** Bug 117053 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 27•23 years ago
|
||
Moving bugs from 0.9.7 for triaging in 0.9.8
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.1
Comment 28•22 years ago
|
||
WFM with 200231503
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 29•22 years ago
|
||
Original reporter: WFM2. This open source stuff is neat! You just report a bug and 15 months later someone fixes it :-)
Comment 30•22 years ago
|
||
*** Bug 132052 has been marked as a duplicate of this bug. ***
Comment 32•21 years ago
|
||
Is this the same as bug 93015 ?
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•