mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 13:25:08 +00:00
LibWeb: Implement reset button behavior
This commit is contained in:
parent
7cc6ffe5b7
commit
6032d122c2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue