- From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
- Date: Thu, 18 Feb 2010 22:40:30 +0000 (GMT)
- To: public-svg-wg@w3.org
ISSUE-2307: SMIL calcMode="paced" and animation of viewBox is underspecified [SVG Core 2.0] http://www.w3.org/Graphics/SVG/WG/track/issues/2307 Raised by: Jonathan Watt On product: SVG Core 2.0 To be able to do paced animation of viewBox, the specification needs to specify how the "distance" between viewBox rects is to be calculated. Mozilla currently takes the square root of sum of the squares of the distances between the corresponding sides of the rects. We use the edges rather than x, y, width and height, because this is necessary in order for the "distance" result that we calculate to be the same for a given change in the left side as it is for an equal change in the opposite side. (I.e. if we used x, y, width, height, then a "distance" calculation for a change to the left side would include both x and width, but an equal change in the right side would only include a change in width. Therefore these equal changes would have different "distances".)
Received on Thursday, 18 February 2010 22:40:31 UTC