1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

LibWeb: Add a proper FocusEvent interface for "focus" and "blur" events

This commit is contained in:
Andreas Kling 2022-02-07 00:04:10 +01:00
parent 386912c019
commit 627ad6c37c
9 changed files with 80 additions and 3 deletions

View file

@ -918,6 +918,8 @@ static NonnullOwnPtr<Interface> parse_interface(StringView filename, StringView
static bool is_wrappable_type(Type const& type)
{
if (type.name == "EventTarget")
return true;
if (type.name == "Node")
return true;
if (type.name == "Document")