mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
LibWeb: Begin implementing the HTMLInputElement 'image' type state
This implements enough to represent <input type=image> with its loaded source image (or fallback to its alt text, if applicable). This does not implement acquring coordinates from user-activated click events on the image.
This commit is contained in:
parent
45a47cb32b
commit
debb5690ce
7 changed files with 214 additions and 2 deletions
3
Tests/LibWeb/Layout/input/input-image.html
Normal file
3
Tests/LibWeb/Layout/input/input-image.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<form>
|
||||
<input type="image" src="120.png" alt="Image not found" width="48" height="48">
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue