Implement MouseEvent's x/y and offsetX/offsetY attributes

This commit is contained in:
Micah Tigley 2019-10-18 16:04:18 -04:00
parent 1d450ba1f3
commit 38b91c3501
6 changed files with 74 additions and 29 deletions

View file

@ -12,6 +12,10 @@ interface MouseEvent : UIEvent {
readonly attribute long clientY;
readonly attribute long pageX;
readonly attribute long pageY;
readonly attribute long x;
readonly attribute long y;
readonly attribute long offsetX;
readonly attribute long offsetY;
readonly attribute boolean ctrlKey;
readonly attribute boolean shiftKey;
readonly attribute boolean altKey;