- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 6 Feb 2013 08:20:22 -0700
- To: Cameron McCormack <cam@mcc.id.au>
- Cc: "public-svg-wg@w3.org" <public-svg-wg@w3.org>
On Tue, Feb 5, 2013 at 10:50 PM, Cameron McCormack <cam@mcc.id.au> wrote: > In doing ACTION-3414, I've added unit accessors to SVGAnimatedLength, so > that you can now do: > > rectElement.x.px = 20; Nice. > I've also added these to SVGAnimatedLengthList, where they reflect the first > SVGLength in the base value list. This is so that > > textElement.x.px = 20; > > will also work. Okay. > One issue: should we have one for percentages, and if so, what should it be > named? Let me think on this before you add it - iirc, when CSS adds the same, it'll need some slightly tricky stuff to make percentages (and other things that are late-resolved) work correctly, so we should try to be consistent. ~TJ
Received on Wednesday, 6 February 2013 15:21:13 UTC