mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Issue #1543 - Align <img> with no src to the updated spec.
This commit is contained in:
parent
e87c06beb3
commit
db14a637c4
25 changed files with 124 additions and 85 deletions
|
|
@ -14,13 +14,13 @@
|
|||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<img id="image1">
|
||||
<!-- non-empty alt to avoid the broken image icon -->
|
||||
<img id="image1" alt=" ">
|
||||
<script>
|
||||
// Use as "wrapper.html?image.png"
|
||||
var imgURL = document.location.search.substr(1);
|
||||
document.images[0].onload = onImageLoad;
|
||||
document.images[0].onerror = onImageLoad;
|
||||
document.images[0].alt = "";
|
||||
document.images[0].src = imgURL;
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue