mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:17:44 +00:00
LibWeb: Support MouseEvent.{pageX,pageY}
Unlike client{X,Y} which is relative to the current viewport, these offsets are relative to the left edge of the document (i.e they take scroll offset into account).
This commit is contained in:
parent
f6862a4203
commit
a802fb2023
5 changed files with 37 additions and 8 deletions
|
@ -10,6 +10,8 @@ interface MouseEvent : UIEvent {
|
|||
readonly attribute double screenY;
|
||||
readonly attribute double x;
|
||||
readonly attribute double y;
|
||||
readonly attribute double pageX;
|
||||
readonly attribute double pageY;
|
||||
|
||||
readonly attribute short button;
|
||||
readonly attribute unsigned short buttons;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue