WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
Bug 37250
SVG Animation calcMode="discrete" only works for 'values'
https://bugs.webkit.org/show_bug.cgi?id=37250
Summary
SVG Animation calcMode="discrete" only works for 'values'
Dirk Schulze
Reported
2010-04-07 23:51:02 PDT
Created
attachment 52841
[details]
calcMode="discrete" works only for 'values', others use 'linear' SVG Animation calcMode="discrete" only works for 'values'
Attachments
calcMode="discrete" works only for 'values', others use 'linear'
(1.02 KB, image/svg+xml)
2010-04-07 23:51 PDT
,
Dirk Schulze
no flags
Details
animateTransform attributeName="transform" type="rotate" calcMode="discrete"
(2.43 KB, image/svg+xml)
2011-07-04 10:52 PDT
,
MH
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Rob Buis
Comment 1
2011-06-02 15:08:11 PDT
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.
Dirk Schulze
Comment 2
2011-06-02 23:39:55 PDT
I fixed it for number values. I'm unsure if we have the same problem with other kind of animation. Needs further testing.
MH
Comment 3
2011-07-04 10:39:18 PDT
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"/>
MH
Comment 4
2011-07-04 10:52:25 PDT
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" />
Dirk Schulze
Comment 5
2011-09-07 01:41:12 PDT
Closing bug now. If we should still have problems with discrete a more specific br should be opened.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug