1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:44:59 +00:00

LibWeb: Add support for the input size attribute

This commit is contained in:
Bastiaan van der Plaat 2023-11-24 17:37:53 +01:00 committed by Andreas Kling
parent d9fb116bcc
commit fb7b03d162
5 changed files with 30 additions and 9 deletions

View file

@ -97,6 +97,9 @@ public:
// https://html.spec.whatwg.org/multipage/input.html#update-the-file-selection
void update_the_file_selection(JS::NonnullGCPtr<FileAPI::FileList>);
unsigned size() const;
WebIDL::ExceptionOr<void> set_size(unsigned value);
WebIDL::ExceptionOr<double> value_as_number() const;
WebIDL::ExceptionOr<void> set_value_as_number(double value);