mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
The spec has special steps specific to the image button state to load the element's image URL.
8 lines
268 B
HTML
8 lines
268 B
HTML
<input type="image" src="120.png" value="120.png" width="120" height="120" />
|
|
<script type="text/javascript">
|
|
document.addEventListener("DOMContentLoaded", () => {
|
|
let input = document.querySelector("input");
|
|
input.type = "text";
|
|
});
|
|
</script>
|