| OLD | NEW |
| 1 <html> | 1 <!DOCTYPE html> |
| 2 <div>This test passes if the video controls are non-blurry and properly position
ed in HiDPI.</div> |
| 3 <video controls></video> |
| 2 <script> | 4 <script> |
| 3 function startTest() { | |
| 4 if (window.testRunner) { | |
| 5 testRunner.waitUntilDone(); | |
| 6 testRunner.setBackingScaleFactor(2, finishTest); | |
| 7 } | |
| 8 } | |
| 9 | |
| 10 function finishTest() { | 5 function finishTest() { |
| 11 setTimeout(function() { testRunner.notifyDone(); }, 0); | 6 setTimeout(function() { testRunner.notifyDone(); }, 0); |
| 12 } | 7 } |
| 13 </script> | 8 if (window.testRunner) { |
| 14 </head> | 9 testRunner.waitUntilDone(); |
| 15 <body onload="startTest();"> | 10 testRunner.setBackingScaleFactor(2, finishTest); |
| 16 <div>This test passes if the video controls are non-blurry and properly posi
tioned in HiDPI.</div> | 11 } |
| 17 <video controls></video> | 12 </script> |
| 18 </body> | |
| 19 </html> | |
| OLD | NEW |