- From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
- Date: Mon, 22 Mar 2004 16:13:29 +1100
- To: www-svg@w3.org
Dean Jackson: > Hmmmm, hadn't thought of that. I guess they could catch the focus > event and fire an animation which sets the style. This reminds me of something I was going to mention but forgot about. How about allowing the .animVal properties of the various SVGAnimated* types to be read-write? The reason I'd like this is that sometimes you want to animate (or cause other temporary modifications to) elements with script and not SMIL. While there is a way to make reversible changes to any CSS properties by modifying the override stylesheet, there's no parallel for attribute-only properties. The particular example I have in mind is (of course) my CSVG extensions. I want to make a pure script implementation of this and it would be a lot nicer if I could simulate the animation of attributes without actually modifying the base value. I could work around it by having an 'set' element as a child of the relevant element and just modifying its 'to' attribute. This isn't as clean as the override stylesheet is for CSS properties. OR... will I be able to do this with the DOM trait stuff? *has another poke around the 1.2 draft* Just noticed the traitDef stuff. That looks good. Thanks, Cameron -- Cameron McCormack | Web: http://mcc.id.au/ | ICQ: 26955922
Received on Monday, 22 March 2004 00:13:34 UTC