[Webkit-unassigned] [Bug 63230] New: SVGAnimation - keyTime value 1 never get animated
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 22 23:58:12 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63230
Summary: SVGAnimation - keyTime value 1 never get animated
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://dev.w3.org/SVG/profiles/1.1F2/test/svg/animate-
elem-31-t.svg
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: krit at webkit.org
CC: rwlbuis at gmail.com, zimmermann at kde.org
Blocks: 41761
Created an attachment (id=98317)
--> (https://bugs.webkit.org/attachment.cgi?id=98317&action=review)
SVG values animation with keytimes
According to http://www.w3.org/TR/SMIL3/smil-animation.html#adef-keyTimes , the keyTime 1 should be the last time value of an animation. Right now it is the value right after that value. Short example:
<rect width="100" height="100" fill="green">
<animate attributeName="width" values="100 ; 200 ; 300" calcMode="discrete" keyTimes="0;0.5;1" dur="6" fill="freeze"/>
</rect>
According to http://www.w3.org/TR/SMIL3/smil-animation.html#animationNS-InterpolationIllus the values should change at 2s, 4s and right before 6s. At the moment we take the last value at exactly 6s. According to the spec, it should not affect the animation, because 6s would be excluded. We should check for keyTime 1 and should calculate the last time value right before reaching the end.
While FF, Opera and Batik end the animation with the value 300 for width, we end with 200.
This affects at least one W3C test: http://dev.w3.org/SVG/profiles/1.1F2/test/svg/animate-elem-31-t.svg
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list