Closed
Bug 830211
Opened 11 years ago
Closed 11 years ago
Two instances of an <img> (in different documents) share the same animation timing
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
DUPLICATE
of bug 332973
People
(Reporter: pdr, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.29 Safari/537.22 Steps to reproduce: 1) Open two windows and position them so both are visible. 2) In the first window, navigate to http://philbit.com/animatebug.html 3) Let the animation play for a bit. 4) In the second window, navigate to http://philbit.com/animatebug.html Actual results: The animation in the second windows does not start at t=0 but instead uses the timing from the first windows and starts halfway through the animation. Expected results: For each new document, SVG SMIL timing should start at t=0.
Comment 1•11 years ago
|
||
(In reply to Philip Rogers from comment #0) > For each new document, SVG SMIL timing should start at t=0. That statement is orthogonal to what your STR demonstrate. For each new document, SVG SMIL timing *does* start at t=0. (To demonstrate this, try loading your SVG file ( http://philbit.com/mouse.svg ) directly, in two separate tabs. You'll see that each does, indeed, get its own SMIL timeline.) Now -- your STR exercise something different than that. They've got instances of the *same* image, which happen to be hosted in different documents. Since we use a global image cache, those images map to a single (behind-the-scenes) document -- so yes, they end up sharing a timeline. I believe there's a very old bug about "don't share animated image timelines between different tabs" (though IIRC, the imagelib module owner/peers haven't yet stated that that's a bug we want to fix). This is probably a dupe of that old bug.
Component: Untriaged → ImageLib
OS: Mac OS X → All
Product: Firefox → Core
Hardware: x86 → All
Summary: Two documents can share the same SVG animation timing → Two instances of an <img> (in different documents) share the same animation timing
Whiteboard: DUPEME
Comment 2•11 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #1) > Now -- your STR exercise something different than that. They've got > instances of the *same* image,[...] > Since we use a global image cache[...] they end up sharing a timeline. Meant to say -- there's nothing SVG-specific about that ^^ -- it's true of all animated image formats in Gecko.
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
Whiteboard: DUPEME
You need to log in
before you can comment on or make changes to this bug.
Description
•