Closed Bug 617278 Opened 14 years ago Closed 14 years ago

(non-libxul) SVG animations don't invalidate SVG-as-an-image

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 617283

People

(Reporter: dholbert, Unassigned)

Details

Attachments

(3 files)

If we have <img src="foo.svg"> and foo.svg has its preserveAspectRatio or viewBox attribute animated, we don't currently invalidate the image, so the updated state isn't shown. See upcoming testcase.
Attached file testcase 1
Here's the testcase. In theory, <img> and <embed> should behave the same here -- however, in my nightly, the <img> remains static until I alt-tab (or trigger an invalidation some other way).
Gah, sorry -- I just realized that is only affecting my debug build, and it's only affecting it because it's a non-libxul build and hence doesn't get the benefit of having "SVGRootRenderingObserver" trigger automatic invalidations within VectorImages. So, this bug is basically just a form of that known non-libxul issue. (everything's fine in my libxul nightly) I realized we don't have bug on that non-libxul issue yet, though. So I filed Bug 617283 on that, and I'm duping this to that.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Summary: SVG animations on root node attributes (e.g. preserveAspectRatio & viewBox) don't invalidate SVG-as-an-image → (non-libxul) SVG animations don't invalidate SVG-as-an-image
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: