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

RESOLVED FIXED in mozilla1.1alpha

Status

()

Core
DOM: Events
P4
normal
RESOLVED FIXED
16 years ago
15 years ago

People

(Reporter: Thomas Yandell, Assigned: joki (gone))

Tracking

({testcase})

Trunk
mozilla1.1alpha
x86
Windows ME
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
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');">

Comment 1

16 years ago
Confirming. This works on IE6... 
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 2

16 years ago
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

Updated

15 years ago
Priority: -- → P4

Comment 4

15 years ago
Created attachment 109870 [details]
testcase

Updated

15 years ago
Keywords: testcase
Fixed by bug bug 83774
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.