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
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

@ -42,6 +42,8 @@ public:
virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::group; }
static bool will_validate();
virtual GC::Ptr<Layout::Node> create_layout_node(GC::Ref<CSS::ComputedProperties>) override;
Layout::FieldSetBox* layout_node();
Layout::FieldSetBox const* layout_node() const;