- From: Cameron McCormack <cam@mcc.id.au>
- Date: Wed, 15 Jul 2009 18:01:12 +1000
- To: Robert O'Callahan <robert@ocallahan.org>
- Cc: Jeff Schiller <codedread@gmail.com>, anthony.grasso@cisra.canon.com.au, www-svg <www-svg@w3.org>
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. -- Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 15 July 2009 08:02:12 UTC