summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authorSrikavin Ramkumar <srikavinramkumar@gmail.com>2022-12-22 19:33:18 -0500
committerAndreas Kling <kling@serenityos.org>2023-01-03 18:09:40 +0100
commit6032d122c28ba0101de37d18961bc9678a0e224a (patch)
treee08b88ff1b32ea36743357ba504eaee9cdcab6e7 /Userland/Libraries/LibWeb
parent7cc6ffe5b77d51a488cfc916a5d0a572a914aed9 (diff)
downloadserenity-6032d122c28ba0101de37d18961bc9678a0e224a.zip
LibWeb: Implement reset button behavior
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp
index 0bf887a2b4..ad62b38fc6 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