mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
LibWeb: Add input element valueAsNumber
This commit is contained in:
committed by
Andreas Kling
parent
d290569535
commit
d5ca8209bf
Notes:
sideshowbarker
2024-07-17 06:40:21 +09:00
Author: https://github.com/bplaat Commit: https://github.com/SerenityOS/serenity/commit/d5ca8209bf Pull-request: https://github.com/SerenityOS/serenity/pull/21332
@@ -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&);
|
||||
|
||||
Reference in New Issue
Block a user