clientX/clientY

Hello,

I'm wondering about the mouseevent.clientX/clientY

The description from the events spec

**********************
clientX of type long, readonly
The horizontal coordinate at which the event occurred relative to the DOM
implementation's client area.

clientY of type long, readonly
The vertical coordinate at which the event occurred relative to the DOM
implementation's client area.
**********************

Is this the same as screenX/screenY with just currentTranslate taken into
account? Is currentScale also taken into account?

If yes to any of the above, shouldn't those be double/float instead of long?

thanks,

--
Sigurd Lerstad

Received on Tuesday, 8 July 2003 03:49:49 UTC