mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02: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
Notes:
github-actions[bot]
2025-02-26 05:46:05 +00:00
Author: https://github.com/sideshowbarker Commit: https://github.com/LadybirdBrowser/ladybird/commit/e79319ad85d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3690 Reviewed-by: https://github.com/tcl3 ✅
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user