1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

LibWeb: Flip on checkValidity() for HTMLTextAreaElement

This is a simple change that just un-stubs our implementation of the
checkValidity() method for HTMLTextAreaElement.
This commit is contained in:
sideshowbarker 2025-02-26 15:15:20 +09:00 committed by Tim Ledbetter
parent e79319ad85
commit 2d7080ecb3
Notes: github-actions[bot] 2025-02-26 06:53:54 +00:00
2 changed files with 4 additions and 5 deletions

View file

@ -247,8 +247,7 @@ bool HTMLTextAreaElement::will_validate()
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-checkvalidity
bool HTMLTextAreaElement::check_validity()
{
dbgln("(STUBBED) HTMLTextAreaElement::check_validity(). Called on: {}", debug_description());
return true;
return check_validity_steps();
}
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-reportvalidity

View file

@ -2,8 +2,8 @@ Harness status: OK
Found 130 tests
75 Pass
55 Fail
76 Pass
54 Fail
Pass [INPUT in TEXT status] no constraint
Pass [INPUT in TEXT status] no constraint (in a form)
Pass [INPUT in TEXT status] not suffering from being too long
@ -132,5 +132,5 @@ Fail [select] suffering from being missing
Pass [select] suffering from being missing (in a form)
Pass [textarea] no constraint
Pass [textarea] no constraint (in a form)
Fail [textarea] suffering from being missing
Pass [textarea] suffering from being missing
Pass [textarea] suffering from being missing (in a form)