Hi Cameron! You wrote: "The transform due to the current motion animation is not exposed anywhere in the SVG DOM, as far as I'm aware. I think the best you could do is to wrap the <rect> in a <g> and then call getBBox() on the <g>." and pointed to the nice little example at http://mcc.id.au/temp/motion-bbox.svg In this example running in Webkit (Safari 5 and Chrome) http://granite.sru.edu/~ddailey/DOMplay1.svg the x attribute of the object when clicked is exposed, but I assume this is a bug (since it behaves much more like I expected in FF4, Opera and IE/ASV where it isn't exposed). Can we turn the Chrome behavior into a feature though? There are lots of times when folks would like to know where something is without having to wrap it in a g. Although, I suppose wrapping in a <g> will work for most cases as the original poster acknowledged. cheers DavidReceived on Sunday, 24 October 2010 15:20:27 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:29 UTC