W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2013

Re: Transformed Pointer Coordinates?

From: Rik Cabanier <cabanier@gmail.com>
Date: Wed, 13 Feb 2013 16:47:46 +1100
Message-ID: <CAGN7qDC1oN+F3EG73-W8V7Mqo6CPKhO2jvLukTgy4hFE=6FPqQ@mail.gmail.com>
To: robert@ocallahan.org
Cc: Simon Fraser <smfr@me.com>, Dirk Schulze <dschulze@adobe.com>, Jacob Rossi <Jacob.Rossi@microsoft.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Doug Schepers <schepers@w3.org>, "public-pointer-events@w3.org" <public-pointer-events@w3.org>, "public-fx@w3.org" <public-fx@w3.org>, www-style list <www-style@w3.org>
definitely non '0' since that signals that you're hitting the (0,0)
coordinate.
NaN seems ugly but I can't think of a better way unless DomPoint is
extended to signal this edge case.

Rik

On Wed, Feb 13, 2013 at 3:55 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> That's my edge case #6. We could return either 0 or NaN.
>
>
> Rob
> --
> 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 Wednesday, 13 February 2013 05:48:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 13 February 2013 05:48:16 GMT