1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:37:45 +00:00

LibWeb: Support setting dimensions on input image buttons

Users are allowed to specify the height and width of an image button
directly in the HTML.
This commit is contained in:
Timothy Flynn 2024-02-19 07:31:47 -05:00 committed by Andreas Kling
parent 3ea26327c7
commit 3f3db34587
4 changed files with 45 additions and 9 deletions

View file

@ -1,3 +1,5 @@
<form>
<input type="image" src="120.png" alt="Image not found" width="48" height="48">
<input type="image" src="120.png" alt="Image not found" width="64" height="64">
<input type="image" src="120.png" alt="Image not found" width="128" height="256">
</form>