image-high-quality-scaling-1-ref.html (825B)
1 <!DOCTYPE html> 2 <!-- Any copyright is dedicated to the Public Domain. 3 - http://creativecommons.org/publicdomain/zero/1.0/ --> 4 <html class="reftest-wait"> 5 <head> 6 <script> 7 // We add an artificial delay before the reftest snapshot to increase the 8 // chance that we're snapshotting the high-quality downscaled version of 9 // the image. This is necessary because high-quality downscaling is 10 // currently an async process. Bug 1045926 will eliminate the need for this 11 // delay. 12 function snapshot() { 13 document.documentElement.removeAttribute('class'); 14 } 15 </script> 16 </head> 17 <body onload="setTimeout(snapshot, 250)"> 18 <div style="padding: 1em 3em; font-size: 80%; width: 300px; text-align: center;"> 19 <img src="green-circle-with-blue-border.png" width="179" height="220"> 20 </div> 21 </body> 22 </html>