OLD | NEW |
---|---|
(Empty) | |
1 <style type="text/css"> | |
leviw_travelin_and_unemployed
2014/11/11 00:19:50
Nit: doctype.
Why not a ref test with the image s
| |
2 .mi { | |
3 background-color: #f00; /* Just makes the bug visible. */ | |
4 margin-top: 1px; /* Precondition for bug. */ | |
5 width: 395px; /* Not important. */ | |
6 height: 296px; /* Not important. */ | |
7 } | |
8 </style> | |
9 | |
10 <!-- With an anti-aliased background, this image will show a row of red pixels a t the top at | |
11 device pixel ration 3.5. To fix this, we turn off anti-aliasing for image backgr ounds. | |
12 --> | |
13 <img class="mi" id="target" src="../../http/tests/resources/square20.jpg"> --> | |
14 | |
15 <script> | |
16 window.onload = function () { | |
17 if (window.internals && window.testRunner) | |
18 testRunner.setBackingScaleFactor(3.7, finishTest); | |
19 } | |
20 | |
21 function finishTest() { | |
22 if (window.testRunner) | |
23 window.testRunner.notifyDone(); | |
24 } | |
25 </script> | |
OLD | NEW |