Re: [w3c/uievents] Standardize layerX/layerY on MouseEvent (#135)

Looks like in Firefox, `layerX`/`layerY` have meaningful (non-zero) values only for MouseEvents and its descendants. For all other UIEvents, the values are always zero.

[Here](https://output.jsbin.com/vehixi) is a quick demo. It checks the following events: `blur`, `focus`, `focusin`, `focusout`, `input`, `compositionstart`, `compositionupdate`, `keydown` and `keyup`.

So, any sites relying on these fields for non-MouseEvents should be either rare or non-functioning.

Go ahead with standardization then?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/135#issuecomment-301897885

Received on Tuesday, 16 May 2017 20:00:29 UTC