LibWeb: Add spec links for the KeyboardEvent IDL

Mostly for convenience.
This commit is contained in:
Timothy Flynn 2023-07-08 16:02:07 -04:00 committed by Andreas Kling
parent ddf4f6f44f
commit 2945e4b8e9

View file

@ -1,5 +1,6 @@
#import <UIEvents/EventModifier.idl>
// https://www.w3.org/TR/uievents/#idl-keyboardevent
[Exposed=Window, UseNewAKString]
interface KeyboardEvent : UIEvent {
@ -30,6 +31,7 @@ interface KeyboardEvent : UIEvent {
};
// https://www.w3.org/TR/uievents/#dictdef-keyboardeventinit
dictionary KeyboardEventInit : EventModifierInit {
DOMString key = "";
DOMString code = "";