Closed Bug 840469 Opened 11 years ago Closed 11 years ago

Make animateMotion-mpath-pathLength-1.svg render in a failure state, when its script and/or animations don't run

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(1 file)

After bug 839865 landed, we got a bunch of intermittent orange in animateMotion-mpath-pathLength-1.svg. I couldn't reproduce the orange locally until I changed the test so that it's initial state is not also the pass state. This patch makes that change permanent to avoid this problem in future.
Attached patch patchSplinter Review
Attachment #712866 - Flags: review?(dholbert)
[clarifying summary, so that a wandering sheriff doesn't accidentally mark this as a randomorange bug]
Summary: Avoid intermittent orange in animateMotion-mpath-pathLength-1.svg → Make animateMotion-mpath-pathLength-1.svg render in a failure state, when its script and/or animations don't run
Comment on attachment 712866 [details] [diff] [review]
patch

r=me

Bonus points if you want to offset the times by 100s, as we've started doing elsewhere, too.  (to avoid immediate-animation on test load, which sometimes blocks MozReftestInvalidate from being fired until all of the animations have completed.)

So that'd be adding begin="100s" to both animateMotion elements, and s/0.5/100.5/ in the setTimeAndSnapshot call.

That doesn't have to happen here if you'd prefer to keep this simple though.
Attachment #712866 - Flags: review?(dholbert) → review+
https://hg.mozilla.org/mozilla-central/rev/3f3b3b3f1797
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: