summaryrefslogtreecommitdiffstats
path: root/image/test/reftest/bmp/bmpsuite/b/wrapper.html
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-11 23:17:47 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-11 23:17:47 +0000
commit0f590122c5474b0b6fb66dccab0cc24f38d63bc4 (patch)
treeb40d7888b732fa4f8941e0fc0d8eff0e439b984e /image/test/reftest/bmp/bmpsuite/b/wrapper.html
parent221627575b56e8bb85e8329400da99138f2f67c1 (diff)
downloadUXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar
UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar.gz
UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar.lz
UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar.xz
UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.zip
Issue #1543 - Align <img> with no src to the updated spec.
Diffstat (limited to 'image/test/reftest/bmp/bmpsuite/b/wrapper.html')
-rw-r--r--image/test/reftest/bmp/bmpsuite/b/wrapper.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/test/reftest/bmp/bmpsuite/b/wrapper.html b/image/test/reftest/bmp/bmpsuite/b/wrapper.html
index 47e68959f..22b74c8fc 100644
--- a/image/test/reftest/bmp/bmpsuite/b/wrapper.html
+++ b/image/test/reftest/bmp/bmpsuite/b/wrapper.html
@@ -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>