LibWeb: Implement the form-control willValidate property

This change — part of the HTML constraint-validation API (aka
“client-side form validation”) — implements the willValidate IDL/DOM
attribute/property for all form controls that support it.
This commit is contained in:
sideshowbarker 2025-02-25 17:43:11 +09:00 committed by Tim Ledbetter
parent 7da5869b14
commit e79319ad85
Notes: github-actions[bot] 2025-02-26 05:46:05 +00:00
24 changed files with 256 additions and 9 deletions

View file

@ -26,7 +26,7 @@ interface HTMLButtonElement : HTMLElement {
[CEReactions, ImplementedAs=type_for_bindings, Enumerated=ButtonTypeState] attribute DOMString type;
[CEReactions, Reflect] attribute DOMString value;
[FIXME] readonly attribute boolean willValidate;
readonly attribute boolean willValidate;
readonly attribute ValidityState validity;
[FIXME] readonly attribute DOMString validationMessage;
[FIXME] boolean checkValidity();