diff options
Diffstat (limited to 'image/test/reftest/ico')
-rw-r--r-- | image/test/reftest/ico/cur/wrapper.html | 3 | ||||
-rw-r--r-- | image/test/reftest/ico/ico-bmp-corrupted/wrapper.html | 4 | ||||
-rw-r--r-- | image/test/reftest/ico/ico-png/wrapper.html | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/image/test/reftest/ico/cur/wrapper.html b/image/test/reftest/ico/cur/wrapper.html index 5bbe75e01..45b516775 100644 --- a/image/test/reftest/ico/cur/wrapper.html +++ b/image/test/reftest/ico/cur/wrapper.html @@ -14,7 +14,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 var imgURL = document.location.search.substr(1); 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'); diff --git a/image/test/reftest/ico/ico-png/wrapper.html b/image/test/reftest/ico/ico-png/wrapper.html index 0015856df..45b516775 100644 --- a/image/test/reftest/ico/ico-png/wrapper.html +++ b/image/test/reftest/ico/ico-png/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> |