LibWeb: Implement setCustomValidity IDL attribute

This commit is contained in:
Psychpsyo
2025-02-17 20:50:56 +01:00
committed by Andrew Kaster
parent 0926720c2a
commit a8004a77bb
12 changed files with 29 additions and 24 deletions

View File

@@ -251,12 +251,6 @@ bool HTMLTextAreaElement::report_validity()
return true;
}
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-setcustomvalidity
void HTMLTextAreaElement::set_custom_validity(String const& error)
{
dbgln("(STUBBED) HTMLTextAreaElement::set_custom_validity(\"{}\"). Called on: {}", error, debug_description());
}
// https://html.spec.whatwg.org/multipage/form-elements.html#dom-textarea-maxlength
WebIDL::Long HTMLTextAreaElement::max_length() const
{