LibWeb: Implement the HTMLInputElement.width attribute

This allows the width of an image button input to be set and queried.
This commit is contained in:
Tim Ledbetter 2024-11-29 17:45:07 +00:00 committed by Andreas Kling
parent 8e3adbe082
commit 45a2823e08
Notes: github-actions[bot] 2024-11-30 10:19:31 +00:00
5 changed files with 79 additions and 4 deletions

View file

@ -128,6 +128,9 @@ public:
WebIDL::UnsignedLong size() const;
WebIDL::ExceptionOr<void> set_size(WebIDL::UnsignedLong value);
WebIDL::UnsignedLong width() const;
WebIDL::ExceptionOr<void> set_width(WebIDL::UnsignedLong value);
struct SelectedCoordinate {
int x { 0 };
int y { 0 };