mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
Implement MouseEvent's x/y and offsetX/offsetY attributes
This commit is contained in:
parent
1d450ba1f3
commit
38b91c3501
6 changed files with 74 additions and 29 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue