Closed Bug 1017871 Opened 10 years ago Closed 10 years ago

SMIL animateMotion broken if keyPoints is specified without keyTimes

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jwatt, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(2 files)

It seems that SMIL animateMotion with keyPoints that have decreasing values was broken some time between 2014-02-14-mozilla-central and 2014-05-26-03-02-02-mozilla-central.
Attached image testcase
The small red rectangle should animate around the black one.
Keywords: testcase
I suspect this was "broken" by bug 974698, which made us stop honoring keyPoints if keyTimes is unspecified.

See spec quote in bug 974698 comment 0.

So I think this is INVALID. (Note that Chrome refuses to animate it, too.)
Here's a testcase with a keyTimes attribute added.

This makes the animation play just like it did in older Firefox versions.
Resolving as INVALID per comment 2 & the fact that "keyTimes" fixes this (as I'd expect it to, per bug 974698).  Feel free to reopen if I'm missing something.

Also, clarifying the summary to drop the "decreasing value" part. (I get the exact same results [no animation] if I swap "1; 0" for "0; 1" in the original testcase.)
Status: NEW → RESOLVED
Closed: 10 years ago
Depends on: 974698
Resolution: --- → INVALID
Summary: SMIL animateMotion broken if keyPoints is in decreasing value → SMIL animateMotion broken if keyPoints is specified without keyTimes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: