W3C home > Mailing lists > Public > www-svg@w3.org > July 2009

Re: Canvas and Interactivity

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 15 Jul 2009 17:16:48 +1200
Message-ID: <11e306600907142216q4910e3f6j9bcc8ec50e0bb915@mail.gmail.com>
To: Jeff Schiller <codedread@gmail.com>, robert@ocallahan.org, anthony.grasso@cisra.canon.com.au, www-svg <www-svg@w3.org>
On Wed, Jul 15, 2009 at 4:52 PM, Cameron McCormack <cam@mcc.id.au> wrote:

> Yes, there’s a proposal to simplify these SVG DOM accessors in SVG 2.0:
>
>  http://www.w3.org/Graphics/SVG/WG/track/issues/2044
>
> We discussed whether it would be possible to drop the existing animVal/
> baseVal interfaces for something new, but there’s likely too much
> content that uses it now.  The above proposal would work on existing
> SVGAnimatedLength etc. objects.
>

The problem with that proposal is that you can do rect.x = 20 but you can't
do rect2.x = rect.x + 5. Not being able to read the value you put in is
quite disconcerting.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Wednesday, 15 July 2009 05:17:28 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:42 GMT