LibWeb: Unify check_validity for form associated elements

This commit is contained in:
Tete17 2025-08-29 17:56:20 +02:00 committed by Tim Ledbetter
commit af88a43e9a
Notes: github-actions[bot] 2025-08-29 18:29:05 +00:00
12 changed files with 14 additions and 25 deletions

View file

@ -143,6 +143,9 @@ public:
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-reportvalidity
bool report_validity();
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-checkvalidity
bool check_validity();
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-validity
GC::Ref<ValidityState const> validity() const;