Re: does <set> add an attribute to node.attributes

On 18 October 2010 08:49, Alex Danilo <alex@abbra.com> wrote:
> So, if at t=3.5s you serialize the output of (2) you should be able to read
> that serialization in and see what you were looking at in the browser.

Serialising a DOM tree by calling getAttribute on its elements should
most definitely not give you the animated values of those attributes
as per the section of the spec quoted by Bjoern Hoehrmann. If you want
to create a serialisation with the animated state then you'd want
rect.height.animVal.valueAsString (but then you're really taking a
snapshot, not a serialisation, and you'd want to drop animation
elements etc.).

Received on Monday, 18 October 2010 00:46:44 UTC