mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Add modifier keys to MouseEvent
This commit is contained in:
parent
836a7b00dd
commit
e267f8e68f
Notes:
sideshowbarker
2024-07-16 23:55:09 +09:00
Author: https://github.com/bplaat
Commit: e267f8e68f
Pull-request: https://github.com/SerenityOS/serenity/pull/20986
Reviewed-by: https://github.com/kalenikaliaksandr ✅
8 changed files with 44 additions and 30 deletions
|
|
@ -15,10 +15,10 @@ interface MouseEvent : UIEvent {
|
|||
readonly attribute double offsetX;
|
||||
readonly attribute double offsetY;
|
||||
|
||||
// FIXME: readonly attribute boolean ctrlKey;
|
||||
// FIXME: readonly attribute boolean shiftKey;
|
||||
// FIXME: readonly attribute boolean altKey;
|
||||
// FIXME: readonly attribute boolean metaKey;
|
||||
readonly attribute boolean ctrlKey;
|
||||
readonly attribute boolean shiftKey;
|
||||
readonly attribute boolean altKey;
|
||||
readonly attribute boolean metaKey;
|
||||
|
||||
// https://w3c.github.io/pointerlock/#extensions-to-the-mouseevent-interface
|
||||
readonly attribute double movementX;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue