Closed Bug 118498 Opened 23 years ago Closed 21 years ago

onload does not work for img tag when display style is set to none

Categories

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

x86
Windows ME
defect

Tracking

()

RESOLVED FIXED
mozilla1.1alpha

People

(Reporter: thomasyandell, Assigned: joki)

References

Details

(Keywords: testcase)

Attachments

(1 file)

onload event handler in img tag does not fire if display style is set to none.

e.g.

<img src="someImage.jpg" style="display:none;" onload="alert('wont see me');">
Confirming. This works on IE6... 
Status: UNCONFIRMED → NEW
Ever confirmed: true
setting to 1.1
If this is used for ad tracking or something important, please tell me
Target Milestone: --- → mozilla1.1
I suspect fixing bug 83774 will fix this.
Depends on: 83774
Priority: -- → P4
Attached file testcase
Keywords: testcase
Fixed by bug bug 83774
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: