LibWeb: Add definitions for PointerEvent event handlers

Also removing a FIXME about not covering all of the event names as it is
not exactly clear when such a FIXME would be addressed, especially as
these come from multiple specifications.
This commit is contained in:
Shannon Booth 2024-11-22 23:58:16 +13:00 committed by Alexander Kalenik
commit 75b7a3e413
Notes: github-actions[bot] 2024-11-22 13:34:51 +00:00
8 changed files with 806 additions and 27 deletions

View file

@ -86,6 +86,19 @@ interface mixin GlobalEventHandlers {
attribute EventHandler onwebkitanimationstart;
attribute EventHandler onwebkittransitionend;
attribute EventHandler onwheel;
// https://w3c.github.io/pointerevents/#extensions-to-the-globaleventhandlers-mixin
attribute EventHandler onpointerover;
attribute EventHandler onpointerenter;
attribute EventHandler onpointerdown;
attribute EventHandler onpointermove;
[SecureContext] attribute EventHandler onpointerrawupdate;
attribute EventHandler onpointerup;
attribute EventHandler onpointercancel;
attribute EventHandler onpointerout;
attribute EventHandler onpointerleave;
attribute EventHandler ongotpointercapture;
attribute EventHandler onlostpointercapture;
};
// https://html.spec.whatwg.org/#windoweventhandlers