1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 04:14:58 +00:00

LibWeb: Add stub reset algorithm for HTMLTextAreaElement

This commit is contained in:
Srikavin Ramkumar 2022-12-22 19:58:21 -05:00 committed by Andreas Kling
parent b55c9f36dc
commit 119e58a8c1
2 changed files with 8 additions and 0 deletions

View file

@ -24,4 +24,10 @@ i32 HTMLTextAreaElement::default_tab_index_value() const
return 0;
}
// https://html.spec.whatwg.org/multipage/form-elements.html#the-textarea-element:concept-form-reset-control
void HTMLTextAreaElement::reset_algorithm()
{
// FIXME: The reset algorithm for textarea elements is to set the dirty value flag back to false, and set the raw value of element to its child text content.
}
}