Closed Bug 519838 Opened 15 years ago Closed 15 years ago

clicking the first run animation should restart it

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
fennec1.0b5

People

(Reporter: Gavin, Assigned: Gavin)

Details

Attachments

(1 file)

We just want to call nsIImageLoadingContent.forceReload on the image, I think.
<joe> you could also get a copy of its imgContainer and call startAnimation on it <joe> that'd be cheaper <gavin> I can do that from script? <joe> yes <joe> imgIContainer::startAnimation() <joe> or resetAnimation()
Attached patch patchSplinter Review
Seems to work great (applies on top of my firstrun patch for bug 477109 and its followups).
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → B5
verified FIXED on builds: Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.2b1pre) Gecko/20091006 Fennec/1.0a3 and Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2b1pre) Gecko/20091006 Fennec/1.0b4
Status: RESOLVED → VERIFIED
Flags: in-litmus?
litmus testcase https://litmus.mozilla.org/show_test.cgi?id=9762 has been created to test the functionality of this page in general...including restarting the animation.
Flags: in-litmus? → in-litmus+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: