When more than one animated GIF features on a page Safari does not play the animation.
Additionally, the placement of code seems to effect the behaviour.
If the page scrolls, which animated GIF plays depends on the scroll position within the page! (they stop
and start as you scroll)
Using different filenames (rather than multiple instances of the same file) doesn't appear to make any
A test case page is at http://www.enableinteractive.co.uk/nic/safarianimatedgifbug/
I first noticed this in Safari on Panther, although the problem still remains in v2.0.1 on Tiger.
I have noticed a similar, likely related problem, but in my experience, it seems to align with cases when
the URL of the image is contained within single quotes.
For example, on my LiveJournal friends page, my icon animates, and is coded as such:
<img src="http://www.livejournal.com/userpic/39223721/1898253" width="100" style="color: #ff0000;
background: #000000; border: 2px solid #000000;" height="100" alt="" align="right" />
Whereas on an individual entry page, it is not animated, and coded as such:
<img src='http://www.livejournal.com/userpic/39223721/1898253' width='100' height='100'
align='absmiddle' hspace='3' title='Kingsley (Ned) ZISSOU: Mr. Pibb + Red Vines' alt=''>
Though i don't know exactly where the issue is in, and if a gif is supposed to animate when it's in the
background, this does seem weird and unwanted behavior. Camino does indeed animate all instances of
the image. I'll confirm, and have added "HasReduction", i will download the testcase and add it to bugzilla.
Submitter: please add the testcase to bugzilla yourself next time :).
Created attachment 5295 [details]
Same as in URL, but saved for future reference.
If I'm not mistaken, once the fix for bug 7318 is landed, we'll be able to see that this is now fixed in the tip of tree.
All the images seem to animate properly now -- I think Dave Hyatt fixed this recently when he revamped image loading and decoding.