Closed Bug 116535 Opened 23 years ago Closed 19 years ago

Animated GIFs should trigger the onload event on every loop of the animation

Categories

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

defect

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: ilya.konstantinov+future, Assigned: pavlov)

References

Details

(Keywords: testcase)

Attachments

(1 file)

According to the JavaScript 1.3 reference (as found on developer.netscape.com), IMG objects which display an animation (e.g. an animated GIF image) should trigger their onload event not only when the image finishes loading but upon displaying of each frame of the animation. Mozilla currently doesn't do it, while Netscape 4 does.

Note: MSDN seems to mention nothing about this onload functionality, so you might as well choose to omit this feature for sake of IE compatibility.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: Other → All
Blocks: 119597
From JS 1.3 client reference
"If you specify an onLoad event handler for an Image object that displays a
looping GIF animation (multi-image GIF), each loop of the animation triggers the
onLoad event, and the event handler executes once for each loop."

it is "each loop" not "each frame"!!

Changing summary from:
Animated GIFs should trigger the onload event on every frame of the animation
To
Animated GIFs should trigger the onload event on every loop of the animation
Summary: Animated GIFs should trigger the onload event on every frame of the animation → Animated GIFs should trigger the onload event on every loop of the animation
pav, do we capture img animation loop state that we then fire some event off of?
Assignee: joki → pavlov
"ugh"  this would suck and I expect break some stuff.
Target Milestone: --- → Future
Attached file testcase
Keywords: 4xp, testcase
Priority: -- → P4
Stuart, would it be wise to fix it or to let it go WONTFIX?
I'm tempted to say WONTFIX since I haven't seen anyone else actually complain about this since it was initially filed.
Ok.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: