mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-29 07:48:47 +00:00
LibWeb: Implement setCustomValidity IDL attribute
This commit is contained in:
parent
0926720c2a
commit
a8004a77bb
Notes:
github-actions[bot]
2025-02-18 17:18:11 +00:00
Author: https://github.com/Psychpsyo
Commit: a8004a77bb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3587
Reviewed-by: https://github.com/ADKaster ✅
12 changed files with 29 additions and 24 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue