W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2016

Re: [whatwg] window.innerScreenX and window.innerScreenY

From: Jonathan Zuckerman <j.zuckerman@gmail.com>
Date: Tue, 13 Dec 2016 13:46:40 +0000
Message-ID: <CAPP4rD_Bpcx8HTXCUi1AH1uOqjueMM9Gf2QzvPo8uLj4k-4E9A@mail.gmail.com>
To: Jan Norden <jan.norden@gmail.com>, whatwg@whatwg.org
Jan, does window.screenX/screenY not meet your needs?
https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX
https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY


On Tue, Dec 13, 2016 at 8:30 AM Jan Norden <jan.norden@gmail.com> wrote:

> There is currently no good way of translation a position in a browser to a
> position on the screen. Our particular need is translating a gaze-position
> (which we have in screen coordinates from our eyetracking hardware).
>
> It is possible in Firefox, using the proprietary
> mozInnerScreenX/mozInnerScreenY, but not in general.
>
> One of the comments in
> https://bugs.chromium.org/p/chromium/issues/detail?id=151983 seems to
> indicate that the correct course of action is to raise the issue here, so I
> will just post this and see where it leads.
>
> --
> /Jan Norden
>
Received on Tuesday, 13 December 2016 13:47:26 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:40 UTC