W3C home > Mailing lists > Public > www-svg@w3.org > March 2004

Re: SVG 1.2 - 3.2.1 editable

From: Antoine Quint <ml@graougraou.com>
Date: Mon, 22 Mar 2004 14:00:18 +0100
Message-Id: <DEA06ADB-7C00-11D8-8A21-000393D124C4@graougraou.com>
Cc: www-svg@w3.org
To: Cameron McCormack <cam-www-svg@aka.mcc.id.au>

Hi Cameron,

On 22 mars 04, at 13:51, Cameron McCormack wrote:

> Chris Lilley:
>> If it doesn't work in the presence of animations then I don't see the
>> point.
>
> My point is for simulating the effects of animation.  If I want to
> provide animation-like features it would be nice if I could do so while
> retaining the base value.

The animated values in the DOM are there only to reflect the 
SMIL-originated vlaue changes. What you seem to want to do sounds quite 
bizarre to say the least.

>> Your proposal (change the animated value in script) and the current
>> method (change the baseval in script) are the same, if no animation is
>> running; the current method continues to work correctly if an
>> animation is running.
>
> Except that the base value is permanently overwritten.  Other script
> in the document (which may not be written by me) may want access to the
> base value as well as the (simulated) animated value.

Just use SMIL animation, and if needed generate the appropriate SMIL 
code through DOM scripting.

Antoine
-- 
Antoine Quint <aq@fuchsia-design.com>
W3C SVG Working Group Invited Expert
SVG Consulting, Teaching and Outsourcing
Received on Monday, 22 March 2004 08:01:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:55 GMT