LibWeb: Implement reset button behavior

This commit is contained in:
Srikavin Ramkumar 2022-12-22 19:33:18 -05:00 committed by Andreas Kling
parent 7cc6ffe5b7
commit 6032d122c2
Notes: sideshowbarker 2024-07-18 05:01:22 +09:00

View File

@ -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