mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 04:15:23 +03:00
LibWeb: Implement reset button behavior
This commit is contained in:
parent
7cc6ffe5b7
commit
6032d122c2
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/srikavin Commit: https://github.com/SerenityOS/serenity/commit/6032d122c2 Pull-request: https://github.com/SerenityOS/serenity/pull/16631
@ -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…
Reference in New Issue
Block a user