diff options
author | Srikavin Ramkumar <srikavinramkumar@gmail.com> | 2022-12-22 19:33:18 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-03 18:09:40 +0100 |
commit | 6032d122c28ba0101de37d18961bc9678a0e224a (patch) | |
tree | e08b88ff1b32ea36743357ba504eaee9cdcab6e7 /Userland/Libraries/LibWeb | |
parent | 7cc6ffe5b77d51a488cfc916a5d0a572a914aed9 (diff) | |
download | serenity-6032d122c28ba0101de37d18961bc9678a0e224a.zip |
LibWeb: Implement reset button behavior
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp | 4 |
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 |