Closed Bug 646134 Opened 13 years ago Closed 12 years ago

Animation created & started by 'click' event behaves differently when it's the first <animate> node in document

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 699143

People

(Reporter: dholbert, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

Attached image testcase 1
STEPS TO REPRODUCE:
 1. Load testcase. Wait a second or two.
 2. Click square.

EXPECTED RESULTS: Circle animates in gradually from the right.

ACTUAL RESULTS:   Circle just pops into existence over the square. (basically, its animation effectively begins earlier than it should.)

* 'testcase 1' shows ACTUAL RESULTS.
* 'reference 1' shows EXPECTED RESULTS.

The testcase & reference case only differ in that I've added a single "<animate/>" node to the reference case.  This means our testcase gets the  "mDeferredStartSampling" behavior, whereas our reference case does not.

(mDeferredStartSampling is used in http://mxr.mozilla.org/mozilla-central/source/content/smil/nsSMILAnimationController.cpp )
Attached image reference 1
A more-reduced-testcase would be helpful here, but I've just filed this with a partially-reduced one, based on a larger file from D[4]ni in #svg.
Keywords: testcase
Seems to work for me with the reduced testcase with Firefox 11.
WFM too, in Trunk.

Might've been fixed by Bug 699143.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Yup -- Trunk fix range:
{
Last good nightly: 2011-11-05
First bad nightly: 2011-11-06
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ae9e5bf847fc&tochange=7e28b68cf25d
}
which includes Bug 699143.

Duping to that bug.
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: