W3C home > Mailing lists > Public > www-svg@w3.org > October 2010

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

From: Brian Birtles <birtles@gmail.com>
Date: Mon, 18 Oct 2010 09:46:11 +0900
Message-ID: <AANLkTikS41ECsGn+FUS7jYm4nteEtcmYo7q-0bGAS4oY@mail.gmail.com>
To: Alex Danilo <alex@abbra.com>
Cc: ddailey <ddailey@zoominternet.net>, robert@ocallahan.org, www-svg@w3.org
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:23 UTC