Created attachment 52841 [details] calcMode="discrete" works only for 'values', others use 'linear' SVG Animation calcMode="discrete" only works for 'values'
Hi Dirk, (In reply to comment #0) > Created an attachment (id=52841) [details] > calcMode="discrete" works only for 'values', others use 'linear' > SVG Animation calcMode="discrete" only works for 'values' Does this work nowadays? It seems to animate exactly as in FF and Opera(I assume those are correct). Cheers, Rob.
I fixed it for number values. I'm unsure if we have the same problem with other kind of animation. Needs further testing.
I can confirm, that problem still exist in Safari 5, but OK in Chrome 14. http://www.w3.org/Graphics/SVG/Test/20030813/svggen/animate-elem-02-t.svg <animate id="an8" attributeName="height" calcMode="discrete" additive="sum" accumulate="sum" repeatCount="2" from="200" to="20" begin="0s" dur="4s" fill="freeze"/> Still works not in Safari 5. But OK in Chrome 14.0.803.0 dev -- Only basic example works in Safari 5: http://www.w3.org/Graphics/SVG/Test/20030813/svggen/animate-elem-09-t.svg <animate attributeName="height" calcMode="discrete" values="210;177;121;10" begin="0s" dur="8s" fill="freeze"/>
Created attachment 99647 [details] animateTransform attributeName="transform" type="rotate" calcMode="discrete" strange, in this case also works not (Chrome 14): <animateTransform attributeName="transform" type="rotate" from="0,25,25" to="30,25,25" dur="1s" repeatCount="2" calcMode="discrete" additive="sum" accumulate="sum" fill="freeze" />
Closing bug now. If we should still have problems with discrete a more specific br should be opened.