mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-13 22:01:53 +00:00
LibWeb: Add input element valueAsNumber
This commit is contained in:
parent
d290569535
commit
d5ca8209bf
Notes:
sideshowbarker
2024-07-17 06:40:21 +09:00
Author: https://github.com/bplaat
Commit: d5ca8209bf
Pull-request: https://github.com/SerenityOS/serenity/pull/21332
3 changed files with 38 additions and 2 deletions
|
@ -94,6 +94,9 @@ public:
|
|||
// https://html.spec.whatwg.org/multipage/input.html#update-the-file-selection
|
||||
void update_the_file_selection(JS::NonnullGCPtr<FileAPI::FileList>);
|
||||
|
||||
WebIDL::ExceptionOr<double> value_as_number() const;
|
||||
WebIDL::ExceptionOr<void> set_value_as_number(double value);
|
||||
|
||||
WebIDL::ExceptionOr<bool> check_validity();
|
||||
WebIDL::ExceptionOr<bool> report_validity();
|
||||
void set_custom_validity(String const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue