2 <style type=
"text/css">
4 margin-top: 1px; /* Precondition for bug. */
5 width: 5px; /* Not important. */
6 height: 6px; /* Not important. */
11 With an anti-aliased background, this image will show a row of red pixels at the top at
12 device pixel ration 3.5. To fix this, we turn off anti-aliasing for image backgrounds.
14 <img class=
"mi" id=
"target" src=
"../../http/tests/resources/square20.jpg">
17 window
.onload = function () {
18 if (window
.internals
&& window
.testRunner
)
19 testRunner
.setBackingScaleFactor(3.5, finishTest
);
22 function finishTest() {
23 if (window
.testRunner
)
24 window
.testRunner
.notifyDone();