LibWeb: Implement the HTMLInputElement.height attribute

This allows the height of an image button input to be set and queried.
This commit is contained in:
Tim Ledbetter 2024-11-29 17:56:24 +00:00 committed by Andreas Kling
commit b39fdcfec2
Notes: github-actions[bot] 2024-11-30 10:19:26 +00:00
5 changed files with 60 additions and 1 deletions

View file

@ -44,6 +44,7 @@
testProperty("img", "hspace", (img) => img.hspace, (img, value) => img.hspace = value);
testProperty("input", "size", (input) => input.size, (input, value) => input.size = value);
testProperty(imageButtonInputFactory, "height", (input) => input.height, (input, value) => input.height = value);
testProperty(imageButtonInputFactory, "width", (input) => input.width, (input, value) => input.width = value);
testProperty("marquee", "scrollAmount", (marquee) => marquee.scrollAmount, (marquee, value) => marquee.scrollAmount = value);
testProperty("marquee", "scrollDelay", (marquee) => marquee.scrollDelay, (marquee, value) => marquee.scrollDelay = value);