Bug 18798 - Discrete animation of 'fill' with url() not correct
Summary: Discrete animation of 'fill' with url() not correct
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://mcc.id.au/temp/2008/discrete-f...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-29 02:55 PDT by Cameron McCormack (:heycam)
Modified: 2011-05-25 13:42 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron McCormack (:heycam) 2008-04-29 02:55:02 PDT
Animating an element's fill using <animate calcMode='discrete'> where the values list includes url() values causes the wrong values to be applied to the property.

It seems that if the initial value of the 'fill' (the underlying value) does not have a url() value, then black is used instead of the paint server.  If the initial value does have a url() value (which doesn't need to be the same URI reference as the value in the values list), then the animation is a bit strange: the url() value does result in the use of the paint server at that point, but for each subsequent value in the animation, the fill flickers briefly to the correct value but then reverts to using the paint server.
Comment 1 Rob Buis 2011-05-25 12:27:25 PDT
Hi Cameron,

I think this animation works nowadays ; I couldn't see a difference from how FF and Opera handle it.
Cheers,

Rob.
Comment 2 Cameron McCormack (:heycam) 2011-05-25 13:42:15 PDT
Looks good now, thanks!