Re: Transformed Pointer Coordinates?

On Tue, Feb 12, 2013 at 3:04 PM, Simon Fraser <> wrote:

> On Feb 11, 2013, at 4:56 PM, Robert O'Callahan <>
> wrote:
> Edge cases:
> 1) If 'from' is a Document, the point is relative to the top-left of the
> CSS viewport. Likewise if the destination node is a Document.
> Can you clarify how that behaves when the document is scrolled? It sounds
> like it's equivalent to "client" coordinates, and therefore clientX/clientY
> on events, which is good.

Yes, scrolling is taken into account.

Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur
Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr nhgubevgl
bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr terng nzbat
lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg zhfg or lbhe fynir
— whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq, ohg gb freir, naq gb
tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj 20:25-28]

Received on Tuesday, 12 February 2013 03:49:36 UTC