mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +00: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:
parent
e79319ad85
commit
2d7080ecb3
Notes:
github-actions[bot]
2025-02-26 06:53:54 +00:00
Author: https://github.com/sideshowbarker
Commit: 2d7080ecb3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3699
Reviewed-by: https://github.com/tcl3 ✅
2 changed files with 4 additions and 5 deletions
|
@ -247,8 +247,7 @@ bool HTMLTextAreaElement::will_validate()
|
||||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-checkvalidity
|
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-checkvalidity
|
||||||
bool HTMLTextAreaElement::check_validity()
|
bool HTMLTextAreaElement::check_validity()
|
||||||
{
|
{
|
||||||
dbgln("(STUBBED) HTMLTextAreaElement::check_validity(). Called on: {}", debug_description());
|
return check_validity_steps();
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-reportvalidity
|
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-reportvalidity
|
||||||
|
|
|
@ -2,8 +2,8 @@ Harness status: OK
|
||||||
|
|
||||||
Found 130 tests
|
Found 130 tests
|
||||||
|
|
||||||
75 Pass
|
76 Pass
|
||||||
55 Fail
|
54 Fail
|
||||||
Pass [INPUT in TEXT status] no constraint
|
Pass [INPUT in TEXT status] no constraint
|
||||||
Pass [INPUT in TEXT status] no constraint (in a form)
|
Pass [INPUT in TEXT status] no constraint (in a form)
|
||||||
Pass [INPUT in TEXT status] not suffering from being too long
|
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 [select] suffering from being missing (in a form)
|
||||||
Pass [textarea] no constraint
|
Pass [textarea] no constraint
|
||||||
Pass [textarea] no constraint (in a form)
|
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)
|
Pass [textarea] suffering from being missing (in a form)
|
Loading…
Add table
Add a link
Reference in a new issue