summaryrefslogtreecommitdiffstats
path: root/image/test/reftest/ico/ico-bmp-corrupted/wrapper.html
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-11 23:17:47 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-20 13:49:55 +0000
commitd050188cd525b769d33e2a2d94454b32aaa0b622 (patch)
tree3b465a50e36d8ba482e72540e67e738b04585573 /image/test/reftest/ico/ico-bmp-corrupted/wrapper.html
parent3a1bebfb87d994b810574fdfeba09683e80cd2c9 (diff)
downloadUXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar
UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar.gz
UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar.lz
UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar.xz
UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.zip
Issue #1543 - Align <img> with no src to the updated spec.
Diffstat (limited to 'image/test/reftest/ico/ico-bmp-corrupted/wrapper.html')
-rw-r--r--image/test/reftest/ico/ico-bmp-corrupted/wrapper.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/test/reftest/ico/ico-bmp-corrupted/wrapper.html b/image/test/reftest/ico/ico-bmp-corrupted/wrapper.html
index 5935f3763..56c1f79b3 100644
--- a/image/test/reftest/ico/ico-bmp-corrupted/wrapper.html
+++ b/image/test/reftest/ico/ico-bmp-corrupted/wrapper.html
@@ -51,7 +51,6 @@
// code.
var finalImg = document.getElementById('image1');
- finalImg.alt = "";
finalImg.onload = finalImg.onerror = step3;
finalImg.src = gImg.src;
}
@@ -68,7 +67,8 @@
</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
gImg = document.createElement('img');