mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:28:11 +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
|
@ -87,6 +87,11 @@ public:
|
|||
// https://html.spec.whatwg.org/multipage/input.html#update-the-file-selection
|
||||
void update_the_file_selection(JS::NonnullGCPtr<FileAPI::FileList>);
|
||||
|
||||
WebIDL::ExceptionOr<bool> check_validity();
|
||||
WebIDL::ExceptionOr<bool> report_validity();
|
||||
void set_custom_validity(DeprecatedString const&);
|
||||
|
||||
WebIDL::ExceptionOr<void> select();
|
||||
WebIDL::ExceptionOr<void> set_selection_range(u32 start, u32 end, DeprecatedString const& direction);
|
||||
|
||||
WebIDL::ExceptionOr<void> show_picker();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue