mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
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:
committed by
Andreas Kling
parent
8e3adbe082
commit
45a2823e08
Notes:
github-actions[bot]
2024-11-30 10:19:31 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/45a2823e082 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2645
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user