mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
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:
committed by
Tim Ledbetter
parent
7da5869b14
commit
e79319ad85
@@ -57,6 +57,8 @@ public:
|
||||
// https://www.w3.org/TR/html-aria/#el-output
|
||||
virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::status; }
|
||||
|
||||
static bool will_validate();
|
||||
|
||||
private:
|
||||
HTMLOutputElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user