mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb: Stub out a few form validation and selection methods
This commit is contained in:
committed by
Linus Groh
parent
23d31ac11d
commit
38a3e28799
Notes:
sideshowbarker
2024-07-17 18:23:22 +09:00
Author: https://github.com/elisee Commit: https://github.com/SerenityOS/serenity/commit/38a3e28799 Pull-request: https://github.com/SerenityOS/serenity/pull/17920 Reviewed-by: https://github.com/linusg ✅
@@ -40,6 +40,9 @@ public:
|
||||
JS::NonnullGCPtr<DOM::HTMLCollection> elements() const;
|
||||
unsigned length() const;
|
||||
|
||||
WebIDL::ExceptionOr<bool> check_validity();
|
||||
WebIDL::ExceptionOr<bool> report_validity();
|
||||
|
||||
// https://www.w3.org/TR/html-aria/#el-form
|
||||
virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::form; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user