diff options
Diffstat (limited to 'image/test/reftest/downscaling')
-rw-r--r-- | image/test/reftest/downscaling/downscale-16px.html | 4 | ||||
-rw-r--r-- | image/test/reftest/downscaling/downscale-8px.html | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/image/test/reftest/downscaling/downscale-16px.html b/image/test/reftest/downscaling/downscale-16px.html index b34adb93d..06d6db2bf 100644 --- a/image/test/reftest/downscaling/downscale-16px.html +++ b/image/test/reftest/downscaling/downscale-16px.html @@ -14,13 +14,13 @@ </script> </head> <body> -<img width="16px" height="16px" id="image1"> +<!-- non-empty alt to avoid the broken image icon --> +<img width="16px" height="16px" 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> diff --git a/image/test/reftest/downscaling/downscale-8px.html b/image/test/reftest/downscaling/downscale-8px.html index 32cb1b211..fdc632e53 100644 --- a/image/test/reftest/downscaling/downscale-8px.html +++ b/image/test/reftest/downscaling/downscale-8px.html @@ -14,7 +14,8 @@ </script> </head> <body> -<img width="8px" id="image1"> +<!-- non-empty alt to avoid the broken image icon --> +<img width="8px" id="image1" alt=" "> <script> // Use as "wrapper.html?image.png" var imgURL = document.location.search.substr(1); |