New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 662663 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

animateMotion does not take calcMode="discrete" into account

Reported by jehan.ma...@gmail.com, Nov 5 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Steps to reproduce the problem:
1. Open the attached SVG into Chrome

What is the expected behavior?
The ellipse should just "jump" into positions since the <animateMotion> tag has the calcMode="discrete" attribute.

What went wrong?
The SVG spec clearly list calcMode as working for all the <animate*> tags (and in particular <animateMotion>).

> The following attributes are the animation value attributes. They are common to elements ‘animate’, ‘animateColor’, ‘animateMotion’ and ‘animateTransform’.

[cf. https://www.w3.org/TR/SVG11/single-page.html#animate-ValueAttributes]
See also the SMIL spec:

> The use of "discrete" for the calcMode together with a "path" specification is allowed, but will simply jump the target element from point to point. If the keyTimes attribute is not specified, the times are derived from the points in the path specification (as described in Animation function calculation modes).

[cf. https://www.w3.org/TR/2001/REC-smil-animation-20010904/#MotionCalcModeAttribute]

So the motion should have been discrete.

Note that calcMode="discrete" works fine on <animateTransform> (which is my current workaround when I need a motion), and I think it works on <animate> too (I have not retested right now, but I'm pretty sure I did earlier an opacity animation which worked discrete with no problem).
Never tested with <animateColor> which is deprecated anyway.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 54.0.2840.90 (Official Build) (64-bit)  Channel: stable
OS Version: Fedora 24
Flash Version: 

For information, this works as expected with Mozilla Firefox at least.
 
chrome-animatemotionbug.svg
2.1 KB Download

Comment 1 by f...@opera.com, Nov 7 2016

Status: Available (was: Unconfirmed)

Comment 2 by f...@opera.com, Nov 7 2016

Labels: -OS-Linux
Project Member

Comment 3 by sheriffbot@chromium.org, Nov 7 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: mrunal.k...@intel.com
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)
Project Member

Comment 5 by sheriffbot@chromium.org, Nov 7

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment