Closed Bug 1113083 Opened 6 years ago Closed 4 years ago
SVG/SMIL: using svg as background-image pauses animation on pageload
1.04 KB, text/html
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 Build ID: 20141126041045 Steps to reproduce: Create a file with a <div> with an svg file (animated in smil) as a background-image. To create a bottomline, I used sam herberts SVG loaders and changed the html file to include the loaders as background-image. http://samherbert.net/svg-loaders/ Actual results: When opening the page in firefox this animation will appear to be paused. After a refresh, the animation does start. I assume this has to do with caching, only triggering the animation to start when it is already loaded? Expected results: The animation should start right away, or at least at the moment the .svg resource file is completely loaded. Now, it needs a refresh before it actually starts.
Could you attach a testcase, please.
The svg file is taken from sam herberts excellent svg loaders, I've copied it to my dropbox to make sure it's available when you open the html locally.
Component: Untriaged → ImageLib
Product: Firefox → Core
Not the same regression range in fact. good=2013-09-04 bad=2013-09-05 http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e3785e299ab6&tochange=77ed46bf4c1a Suspected bug: Jonathan Watt — Bug 907503 - Fix invalidation for SMIL animation in SVG-as-an-image. r=roc
Version: 34 Branch → 26 Branch
Assignee: nobody → jwatt
( So caused by the first half of http://hg.mozilla.org/mozilla-central/rev/8d8c2ce395a1 )
Two things I'd note after looking at this a bit: * backing out bug 907503 doesn't fix this (maybe because of bug 908634?) * the animation only fails on initial load or hard reloads (soft reloads get it working)
In local build Last Good: e1976a0ce384 First Bad: f12a3d9e4cd6 Triggered by: f12a3d9e4cd6 Jonathan Watt — Bug 911862 - Make VectorImage use the refresh driver to send out frame change notifications. r=dholbert
pretty sure the landing of bug 935888 has fixed this.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Yes, I verified, we can even dupe it.
No longer depends on: 935888
Resolution: FIXED → DUPLICATE
Duplicate of bug: 935888
You need to log in before you can comment on or make changes to this bug.