Closed Bug 154769 Opened 22 years ago Closed 21 years ago

Mozilla can't animate this broken image

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: aha, Assigned: pavlov)

References

()

Details

Attachments

(2 files, 1 obsolete file)

Mozilla can't animate broken image, but other browsers (MSIE5.0, Opera 6.x,
NN4.79) are able to do it. Mozilla IMHO should also support this sometime in far
future. =)

2002062308/trunk/W2k
Keywords: 4xp
paper, this seems like your thing... ;)
Confirming under Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a+)
Gecko/20020619, but why should Mozilla be able to display broken images? If it's
broken, fix it.
confirming with 1.1beta on win2k.

IE also animates the broken gif (with some corruption on one of the frames).

this could be a wontfix, but that's not my call...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 119597
*** Bug 195523 has been marked as a duplicate of this bug. ***
Attached patch Finish up Decoding (obsolete) — Splinter Review
Never saw this bug before until today.. bugmail must have slipped under my
nose.  Sorry.

Here's a patch.  Upon recieving a Close notification from the stream, this
patch closes off a GIF frame if one is still open, and then it closes off the
GIF if the GIF is still open.
Attachment #116214 - Flags: review?(cbiesinger)
Attachment #116214 - Flags: review?(cbiesinger)
Now less fuzzy
Attachment #116214 - Attachment is obsolete: true
Attachment #116285 - Flags: review?(cbiesinger)
Comment on attachment 116285 [details] [diff] [review]
Finish Up Decoding

+  : mImageContainer(nsnull)
+  , mImageFrame(nsnull)
+  , mObserver(nsnull)

No need to explicitly initialize these to nsnull (it's a nsCOMPtr, which are
nsnull by default). Remove this initialization, and r=biesi.
Attachment #116285 - Flags: review?(cbiesinger) → review+
Attachment #116285 - Flags: superreview?(tor)
Comment on attachment 116285 [details] [diff] [review]
Finish Up Decoding

Make mGIFOpen a PRPackedBool, do biesi's tidying, and sr=tor.
Attachment #116285 - Flags: superreview?(tor) → superreview+
Attached patch Checked-In PatchSplinter Review
This is the patch I'll check in.

Don't worry about r+/sr+
checked in
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: