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 20:14:00 +1200
Message-ID: <11e306600907150114o796e0dcep3c20103a8c4717b0@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>, Jeff Schiller <codedread@gmail.com>, anthony.grasso@cisra.canon.com.au, www-svg <www-svg@w3.org>
On Wed, Jul 15, 2009 at 8:01 PM, Cameron McCormack <cam@mcc.id.au> wrote:

> Cameron McCormack:
> > > 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.
> > >
>
> Robert O'Callahan:
> > 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.
>
> The proposal would allow that by specifying a valueOf function on the
> SVGAnimatedLength prototype object or by specifying a value for the
> [[DefaultValue]] internal property.
>

What does that mean for those of us who fear WebIDL?

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 08:14:35 GMT

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