From 6032d122c28ba0101de37d18961bc9678a0e224a Mon Sep 17 00:00:00 2001 From: Srikavin Ramkumar Date: Thu, 22 Dec 2022 19:33:18 -0500 Subject: [PATCH] LibWeb: Implement reset button behavior --- Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp index 0bf887a2b48..ad62b38fc62 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp @@ -38,8 +38,8 @@ HTMLButtonElement::HTMLButtonElement(DOM::Document& document, DOM::QualifiedName break; case TypeAttributeState::Reset: // Reset Button - // FIXME: Reset element's form owner. - TODO(); + // Reset element's form owner. + form()->reset_form(); break; case TypeAttributeState::Button: // Button