mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
LibWeb: Stub out a few form validation and selection methods
This commit is contained in:
committed by
Linus Groh
parent
23d31ac11d
commit
38a3e28799
@@ -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