Re: Pointer Events in SVG

Jonathan,

the blue box has a width of 20 and a height of 6, matching the
viewBox. Not sure if that was the question, sorry. It runs on all mentioned
browsers on OSX, at least for me.

Regards,
Daniel

2007/10/25, "~:'' ありがとうございました。" <j.chetwynd@btinternet.com>:
>
> Daniel,
>
> Please could you provide your expectations for limit values?
> ie four corners of blue box.
>
> The grouping of the data doesn't seem obvious, x,y....
>
> in OS X,
>
> Safari displays results, Mozilla and Opera do not.
> I am using nightlies which may effect results.
>
> regards
>
> Jonathan Chetwynd
> Accessibility Consultant on Media Literacy and the Internet
>
>
>
> On 24 Oct 2007, at 16:15, Daniel Herzog wrote:
>
> Hi,
>
> just to quickly introduce myself, I work at Vodafone and contributed
> to the WICD Testsuite.
>
> I would like to know, is there a way to get the pointer-position in
> reference to an SVGs coordinate-system? Please take a look at the
> following testfile (with Opera 9.23, Firefox2, Safari3):
> http://dev.danielherzog.de/wicd/pointerPositionTesting.xhtml
>
> The blue rect is part of an SVG that has a viewBox of only 20 x 6,
> but the whole thing is in a container much bigger and is therefore
> scaled up. When hovering the SVG you see some properties of mouse-
> events below it, but none of them quite fit the SVGs coordinate
> system. The maximum x-values for that would be 20 then. I think it
> would be important to have an easy way for getting to these values,
> just thinking of a simple mousefollow, or slider controls, for example.
>
> Thanks a lot,
> Daniel
>
>

Received on Thursday, 25 October 2007 14:44:55 UTC