1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:47:46 +00:00

LibWeb: Add MouseEvent.x and MouseEvent.y

Per the CSSOM View spec, these are aliases for clientX and clientY.
This commit is contained in:
Andreas Kling 2022-02-07 13:23:33 +01:00
parent 8964f754f5
commit 438c5bce6c
2 changed files with 6 additions and 0 deletions

View file

@ -4,5 +4,7 @@ interface MouseEvent : UIEvent {
readonly attribute double offsetY;
readonly attribute double clientX;
readonly attribute double clientY;
readonly attribute double x;
readonly attribute double y;
};