From 2945e4b8e93cecf676928a8b304807479beda46a Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sat, 8 Jul 2023 16:02:07 -0400 Subject: [PATCH] LibWeb: Add spec links for the KeyboardEvent IDL Mostly for convenience. --- Userland/Libraries/LibWeb/UIEvents/KeyboardEvent.idl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Libraries/LibWeb/UIEvents/KeyboardEvent.idl b/Userland/Libraries/LibWeb/UIEvents/KeyboardEvent.idl index fcb8da73dc..7bdcf5a129 100644 --- a/Userland/Libraries/LibWeb/UIEvents/KeyboardEvent.idl +++ b/Userland/Libraries/LibWeb/UIEvents/KeyboardEvent.idl @@ -1,5 +1,6 @@ #import +// 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 = "";