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]