Re: Coordinates in SVG that embedded with scrolling

Holger Jeromin <[email protected]> Tue, 08 Dec 2009 09:09:58 +0100
Newsgroups gmane.comp.mozilla.devel.svg
Message-ID <[email protected]>
Svami Dhyan Nataraj schrieb am 07.12.2009 20:37:
> On Mon, 07 Dec 2009 09:06:12 +0100
> Holger Jeromin <[email protected]> wrote:
>> Svami Dhyan Nataraj schrieb am 05.12.2009 16:08:
>>> clientX and clientY are given as if the image were not scrolled at
>>> all, and the circle immediately moves to the top of the image...
>>> Can you please help me with this sample?
>> pageX is relative to the top of page, regardless of the browser
>> scrolling.
>> Beware that the AdobeSVG Viewer Pluginarea is not "informed" by the
>> scrolling, so there clientx is not changed.
> Thanks! You've made my live happier...
> 
> 
> BTW. I did not find pageX in SVG spec... It is mozilla specific
> implementation, or what? Is it described somewhere?

It is available in Opera, Webkit and Mozilla.

It is described in a Working Draft:
http://www.w3.org/TR/cssom-view/

According to https://developer.mozilla.org/en/DOM/event.pageX
it is "Not part of any public standard."

-- 
best regards
Holger Jeromin