summaryrefslogtreecommitdiffstats
path: root/image/test/reftest/ico/ico-bmp-corrupted/wrapper.html
diff options
context:
space:
mode:
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');