Closed Bug 609767 Opened 14 years ago Closed 14 years ago

SVG-as-an-image with SMIL animations not getting updated on Fennec

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 593243

People

(Reporter: dholbert, Unassigned)

References

()

Details

(Whiteboard: [dupeme?])

STEPS TO REPRODUCE:
 1. Download latest fennec nightly from e.g.
http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-linux/
 2. Load URL ( http://blog.dholbert.org/2010/10/svg-as-image.html )
 3. Watch the "fish" animation (just below text "In the <img> tag:")
 4. Drag page up & down (i.e. scroll); then drag page side-to-side

ACTUAL RESULTS:
 - Image is static when the page is standing still & when it's scrolling up & down.
 - Image only repaints with updated fish-positions when I drag page side-to-side.

There's no bug in normal Firefox trunk nightly builds, so I'm not sure why it's not working in Fennec... maybe the invalidation isn't making it up far enough (or is somehow invalidating the wrong thing(s))...?

There's also no bug for animated *GIFs* in Fennec, e.g. at:
http://www.gifs.net/gif/index.php3?n=subcat_images.php3&id=5&start=0&end=20&cat_name=Clouds
...so this is specific to SVG images.

(Note that if you view the SVG file directly at
  http://people.mozilla.org/~dholbert/demos/svgAsImg/fish.svg
then it animates just fine.)
OS: Linux → All
Hardware: x86_64 → All
Hmm, cjones mentioned in IRC that there are some known general invalidation bugs in Fennec, so this might just be a form of one of those.
Whiteboard: [dupeme?]
(Moving to Fennec:General based on comment 1)
Component: SVG → General
Product: Core → Fennec
QA Contact: general → general
I can reproduce this bug in landscape orientation both on desktop and device.  But, in portrait, the animation works fine for me both on desktop and device :S.  I don't have any theories that can explain that :S.
I doubt this is a Product:Fennec bug, but it's likely that one of the fennec-platform APIs is changing state so as to break assumptions of something.  We can move to Core when we have a better idea of what's up.
Chris, in which component should this be put in?
It's fine to leave here until it's better understood what the problem is.
Not sure what I was thinking in comment 3, too late at night.  Anywho, http://people.mozilla.com/~cjones/svganim.html works in fennec in both orientations (with the fix from bug 610419 applied); http://blog.dholbert.org/2010/10/svg-as-image.html works in portrait but not landscape.  The difference among working vs. not-working is in-viewport vs. out-of-viewport.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.