mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
LibWeb: Stub out a few form validation and selection methods
This commit is contained in:
parent
23d31ac11d
commit
38a3e28799
6 changed files with 57 additions and 0 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue