mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibWeb: Add stub reset algorithm for HTMLOutputElement
This commit is contained in:
parent
119e58a8c1
commit
56efd60755
Notes:
sideshowbarker
2024-07-17 02:13:57 +09:00
Author: https://github.com/srikavin Commit: https://github.com/SerenityOS/serenity/commit/56efd60755 Pull-request: https://github.com/SerenityOS/serenity/pull/16631
2 changed files with 10 additions and 0 deletions
|
@ -17,4 +17,12 @@ HTMLOutputElement::HTMLOutputElement(DOM::Document& document, DOM::QualifiedName
|
|||
|
||||
HTMLOutputElement::~HTMLOutputElement() = default;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-elements.html#the-output-element:concept-form-reset-control
|
||||
void HTMLOutputElement::reset_algorithm()
|
||||
{
|
||||
// 1. FIXME: String replace all with this element's default value within this element.
|
||||
|
||||
// 2. FIXME: Set this element's default value override to null.
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -41,6 +41,8 @@ public:
|
|||
// https://html.spec.whatwg.org/multipage/forms.html#category-label
|
||||
virtual bool is_labelable() const override { return true; }
|
||||
|
||||
virtual void reset_algorithm() override;
|
||||
|
||||
private:
|
||||
HTMLOutputElement(DOM::Document&, DOM::QualifiedName);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue