Bug 1858983 [wpt PR 42532] - Update wpt metadata, a=testonly
[gecko.git] / layout / reftests / pixel-rounding / image-high-quality-scaling-1.html
blobe3d14a61f930434733bb939dac9f8cc9d2030656
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');
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" height="220">
20 </div>
21 </body>
22 </html>