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

2016-12-13 Thread Boris Zbarsky
On 12/13/16 9:09 AM, Jonathan Zuckerman wrote: Ah right.. would it be possible to compute the missing dimensions given a mouse event with screenX/Y and clientX/Y properties? Yes, that should be possible. -Boris

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

2016-12-13 Thread Jonathan Zuckerman
Ah right.. would it be possible to compute the missing dimensions given a mouse event with screenX/Y and clientX/Y properties? On Tue, Dec 13, 2016 at 9:03 AM Boris Zbarsky wrote: > On 12/13/16 8:46 AM, Jonathan Zuckerman wrote: > > Jan, does window.screenX/screenY not meet

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

2016-12-13 Thread Boris Zbarsky
On 12/13/16 8:46 AM, Jonathan Zuckerman wrote: 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 That doesn't work because it gives the screen position of the

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

2016-12-13 Thread Jonathan Zuckerman
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 wrote: > There is currently no good way of

[whatwg] window.innerScreenX and window.innerScreenY

2016-12-13 Thread Jan Norden
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