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

Yes, but do you get an attribute to serialize is the question?

If there is no attribute in the DOM at the time of animation at least,
what is being animated exactly?

Are you advocating anonymous attributes that live off the SMIL element?
Then what happens when you add the animated attribute via script? Does
the DOM have to interrogate the SMIL engine to see if it has any of
these anonymous synthsized attributes in its model?

Sounds like a God-awful mess to me.

Alex

--Original Message--:
>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 01:02:20 UTC